We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 698dc1a + d57494b commit 29acd29Copy full SHA for 29acd29
README.md
@@ -116,6 +116,24 @@ Check if a User is a Root User
116
isRootUser(int user_id) // returns true or false
117
```
118
119
+Fetch Permissions
120
+```php
121
+fetchPermissions(int $status) // active = 1 or inactive = 0
122
+// $status is optional if is empty all permissions will be fetched
123
+```
124
+
125
+Fetch Roles
126
127
+fetchRoles(int $status) // active = 1 or inactive = 0
128
+// $status is optional if is empty all roles will be fetched
129
130
131
+Fetch User Roles
132
133
+fetchUserRoles(int $user_id)
134
+// $user_id is id of the user from App\Models\User
135
136
137
## Changelog
138
139
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
0 commit comments