From 5f4dc8ae37e1ed2b66e53ed6a3b537d3b7aabd73 Mon Sep 17 00:00:00 2001 From: Matthias Vogel Date: Tue, 31 Jan 2023 15:31:47 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20make=20clear=20you=20can?= =?UTF-8?q?=20require=20multiple=20groups?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 572ff40..647ecbe 100644 --- a/README.md +++ b/README.md @@ -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 + } } ````