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