Auth: Refactor resources.go

This commit is contained in:
graciousgrey 2023-12-13 15:36:31 +01:00
parent 5fa0b08f20
commit 759dbe540a

View file

@ -37,7 +37,7 @@ var Resources = ACL{
}, },
ResourcePlaces: Roles{ ResourcePlaces: Roles{
RoleAdmin: GrantFullAccess, RoleAdmin: GrantFullAccess,
RoleVisitor: Grant{AccessShared: true, ActionView: true, ActionDownload: true}, RoleVisitor: GrantViewShared,
RoleClient: GrantFullAccess, RoleClient: GrantFullAccess,
}, },
ResourceLabels: Roles{ ResourceLabels: Roles{