2020-06-25 14:54:04 +02:00
|
|
|
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},
|
2020-07-13 18:20:05 +02:00
|
|
|
RoleGuest: Actions{ActionSearch: true, ActionRead: true, ActionDownload: true},
|
2020-06-25 14:54:04 +02:00
|
|
|
},
|
|
|
|
}
|