Skip to content

Commit

Permalink
✏️ make clear you can require multiple groups
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanti committed Jan 31, 2023
1 parent a981b62 commit 5f4dc8a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,12 @@ class ProjectController extends ActionController
{
//this action is only accessible if the Frontend User has group 7 or 9 or 12
}

#[GroupAccess([3])]
#[GroupAccess([5])]
public function listAction(): ResponseInterface
{
//this action is only accessible if the Frontend User has group 3 and 5
}
}
````

0 comments on commit 5f4dc8a

Please sign in to comment.