Skip to content

Commit 6d9e5be

Browse files
sammyskillskenjis
andcommitted
Update docs/authorization.md
Co-authored-by: kenjis <kenji.uui@gmail.com>
1 parent c39b70d commit 6d9e5be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/authorization.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ permissions (**group-level permissions**) to determine if they are allowed.
119119
if ($user->can('users.create')) {
120120
//
121121
}
122-
// Or
122+
123+
// If multiple permissions are specified, true is returned if the user has any of them.
123124
if ($user->can('users.create', 'users.edit')) {
124125
//
125126
}

0 commit comments

Comments
 (0)