2022-09-28 09:01:17 +02:00
|
|
|
package acl
|
|
|
|
|
|
|
|
// Events specifies granted permissions by event channel and Role.
|
|
|
|
var Events = ACL{
|
|
|
|
ResourceDefault: Roles{
|
|
|
|
RoleAdmin: GrantFullAccess,
|
|
|
|
},
|
2022-10-02 11:38:30 +02:00
|
|
|
ChannelUser: Roles{
|
|
|
|
RoleAdmin: GrantFullAccess,
|
|
|
|
RoleVisitor: GrantSubscribeOwn,
|
|
|
|
},
|
2022-09-28 09:01:17 +02:00
|
|
|
ChannelSession: Roles{
|
|
|
|
RoleAdmin: GrantFullAccess,
|
|
|
|
RoleVisitor: GrantSubscribeOwn,
|
|
|
|
},
|
|
|
|
}
|