photoprism/internal/acl/acl_events.go

13 lines
253 B
Go
Raw Normal View History

package acl
// Events specifies granted permissions by event channel and Role.
var Events = ACL{
ResourceDefault: Roles{
RoleAdmin: GrantFullAccess,
},
ChannelSession: Roles{
RoleAdmin: GrantFullAccess,
RoleVisitor: GrantSubscribeOwn,
},
}