Skip to content

Commit

Permalink
Update docs/authorization.md
Browse files Browse the repository at this point in the history
Co-authored-by: kenjis <[email protected]>
  • Loading branch information
sammyskills and kenjis committed Aug 21, 2023
1 parent c39b70d commit 6d9e5be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ permissions (**group-level permissions**) to determine if they are allowed.
if ($user->can('users.create')) {
//
}
// Or

// If multiple permissions are specified, true is returned if the user has any of them.
if ($user->can('users.create', 'users.edit')) {
//
}
Expand Down

0 comments on commit 6d9e5be

Please sign in to comment.