You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ This package is just a user interface for [spatie/laravel-permission](https://gi
33
33
composer require backpack/permissionmanager
34
34
```
35
35
36
-
2) Finish all installation steps for [spatie/laravel-permission](https://github.com/spatie/laravel-permission#installation), which as been pulled as a dependency. Run its migrations. Publish its config files. Most likely it's:
36
+
2) Finish all installation steps for [spatie/laravel-permission](https://github.com/spatie/laravel-permission#installation), which has been pulled as a dependency. Run its migrations. Publish its config files. Most likely it's:
@@ -180,7 +180,7 @@ You can also determine if a user has all of a given list of roles:
180
180
```bash
181
181
backpack_user()->hasAllRoles(Role::all());
182
182
```
183
-
The assignRole, hasRole, hasAnyRole, hasAllRoles and removeRole-functions can accept a string, a Role-object or an \Illuminate\Support\Collection-object.
183
+
The assignRole, hasRole, hasAnyRole, hasAllRoles and removeRole-functions can accept a string, an array, a Role-object or an \Illuminate\Support\Collection-object.
184
184
185
185
A permission can be given to a role:
186
186
```bash
@@ -227,7 +227,7 @@ This package also adds Blade directives to verify whether the currently logged i
227
227
@endhasallroles
228
228
```
229
229
230
-
You can use Laravels native @can directive to check if a user has a certain permission.
230
+
You can use Laravel's native @can directive to check if a user has a certain permission.
0 commit comments