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
if($user->isAll('admin|forum.moderator')){
// do something
}
yet, it contains an alternative symbol ( | ). That's actually confusing, as | would then be ignored in this case? Perhaps you could clarify the behavior in the docs. In my mind, this should throw an exception (you're asking for all, yet using incorrect symbol in the list). Cheers.
The text was updated successfully, but these errors were encountered:
It throws \HttpOz\Roles\Exceptions\RoleDeniedException or \HttpOz\Roles\Exceptions\GroupDeniedException exceptions if it goes wrong.
'if it goes wrong' is also not very descriptive. I know I should file a separate bug, but since this affects documentation, I thought I'd leave a comment here. What happens when the user has a role and belongs to a group that doesn't have that role, does the group middleware still fail?
Uh oh!
There was an error while loading. Please reload this page.
Hi. The section of the documentation here says:
yet, it contains an alternative symbol ( | ). That's actually confusing, as | would then be ignored in this case? Perhaps you could clarify the behavior in the docs. In my mind, this should throw an exception (you're asking for all, yet using incorrect symbol in the list). Cheers.
The text was updated successfully, but these errors were encountered: