13 lines
253 B
Go
13 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,
|
||
|
},
|
||
|
}
|