From 6c8f09b14e7a34324c92fbdde477f73a3a32f582 Mon Sep 17 00:00:00 2001 From: Samuel Asor <8720569+sammyskills@users.noreply.github.com> Date: Mon, 21 Aug 2023 04:40:33 +0100 Subject: [PATCH] Update docs/authorization.md Co-authored-by: kenjis --- docs/authorization.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/authorization.md b/docs/authorization.md index 06a2cbc9d..7265ce6c2 100644 --- a/docs/authorization.md +++ b/docs/authorization.md @@ -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')) { // }