f5a8c5a45d
Signed-off-by: Michael Mayer <michael@photoprism.app>
12 lines
253 B
Go
12 lines
253 B
Go
package acl
|
|
|
|
// Events specifies granted permissions by event channel and Role.
|
|
var Events = ACL{
|
|
ResourceDefault: Roles{
|
|
RoleAdmin: GrantFullAccess,
|
|
},
|
|
ChannelSession: Roles{
|
|
RoleAdmin: GrantFullAccess,
|
|
RoleVisitor: GrantSubscribeOwn,
|
|
},
|
|
}
|