Skip to content

Commit

Permalink
L11
Browse files Browse the repository at this point in the history
  • Loading branch information
drbyte authored Jul 21, 2024
1 parent 29e4983 commit 7a0b503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/basic-usage/new-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ php artisan migrate:fresh --seed --seeder=PermissionsDemoSeeder
Super-Admins are a common feature. The following approach allows that when your Super-Admin user is logged in, all permission-checks in your app which call `can()` or `@can()` will return true.

- Create a role named `Super-Admin`. (Or whatever name you wish; but use it consistently just like you must with any role name.)
- Add a Gate::before check in your `AuthServiceProvider`:
- Add a Gate::before check in your `AuthServiceProvider` (or `AppServiceProvider` since Laravel 11):

```diff
+ use Illuminate\Support\Facades\Gate;
Expand Down

0 comments on commit 7a0b503

Please sign in to comment.