5d59b50912
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
19 lines
483 B
Go
19 lines
483 B
Go
package acl
|
|
|
|
var Permissions = ACL{
|
|
ResourceDefault: Roles{
|
|
RoleAdmin: Actions{ActionDefault: true},
|
|
},
|
|
ResourceConfig: Roles{
|
|
RoleAdmin: Actions{ActionDefault: true},
|
|
RoleGuest: Actions{ActionRead: true},
|
|
},
|
|
ResourceAlbums: Roles{
|
|
RoleAdmin: Actions{ActionDefault: true},
|
|
RoleGuest: Actions{ActionSearch: true, ActionRead: true},
|
|
},
|
|
ResourcePhotos: Roles{
|
|
RoleAdmin: Actions{ActionDefault: true},
|
|
RoleGuest: Actions{ActionSearch: true, ActionRead: true},
|
|
},
|
|
}
|