From c939889246b9edc2ac7c5e60e34a45b063b8bcfb Mon Sep 17 00:00:00 2001 From: nyagamunene Date: Mon, 4 Nov 2024 17:18:27 +0300 Subject: [PATCH] Update scope documentation Signed-off-by: nyagamunene --- auth/pat.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/auth/pat.go b/auth/pat.go index 7e26065264b..a839f922943 100644 --- a/auth/pat.go +++ b/auth/pat.go @@ -514,17 +514,17 @@ func (ds *DomainScope) Check(domainEntityType DomainEntityType, operation Operat // "domain_1": { // "entities": { // "groups": { -// "create": {}, // this for all groups in domain +// "create": ["*"] // this for all groups in domain // }, // "channels": { // // for particular channel in domain -// "delete": { -// "channel1": {}, -// "channel2":{} -// } +// "delete": [ +// "channel1", +// "channel2" +// ] // }, // "things": { -// "update": {} // this for all things in domain +// "update": ["*"] // this for all things in domain // } // } // }