2020-06-25 14:54:04 +02:00
|
|
|
package acl
|
|
|
|
|
|
|
|
var Permissions = ACL{
|
|
|
|
ResourceDefault: Roles{
|
|
|
|
RoleAdmin: Actions{ActionDefault: true},
|
|
|
|
},
|
|
|
|
ResourceConfig: Roles{
|
2021-10-04 20:59:12 +02:00
|
|
|
RoleAdmin: Actions{ActionDefault: true},
|
|
|
|
RoleGuest: Actions{ActionRead: true},
|
|
|
|
RoleMember: Actions{ActionRead: true},
|
2020-06-25 14:54:04 +02:00
|
|
|
},
|
2020-12-19 01:54:48 +01:00
|
|
|
ResourceConfigOptions: Roles{
|
2021-10-04 20:59:12 +02:00
|
|
|
RoleAdmin: Actions{ActionDefault: true},
|
|
|
|
RoleMember: Actions{ActionRead: true},
|
2020-12-18 20:42:12 +01:00
|
|
|
},
|
2021-09-02 16:12:31 +02:00
|
|
|
ResourceSubjects: Roles{
|
2021-10-04 20:59:12 +02:00
|
|
|
RoleAdmin: Actions{ActionDefault: true},
|
|
|
|
RoleMember: Actions{ActionRead: true},
|
2021-09-02 16:12:31 +02:00
|
|
|
},
|
2020-06-25 14:54:04 +02:00
|
|
|
ResourceAlbums: Roles{
|
2021-10-04 20:59:12 +02:00
|
|
|
RoleAdmin: Actions{ActionDefault: true},
|
|
|
|
RoleGuest: Actions{ActionSearch: true, ActionRead: true},
|
|
|
|
RoleMember: Actions{ActionSearch: true, ActionRead: true},
|
2020-06-25 14:54:04 +02:00
|
|
|
},
|
|
|
|
ResourcePhotos: Roles{
|
2021-10-04 20:59:12 +02:00
|
|
|
RoleAdmin: Actions{ActionDefault: true},
|
|
|
|
RoleGuest: Actions{ActionSearch: true, ActionRead: true, ActionDownload: true},
|
|
|
|
RoleMember: Actions{ActionSearch: true, ActionRead: true, ActionDownload: true},
|
2020-06-25 14:54:04 +02:00
|
|
|
},
|
2021-08-13 21:23:34 +02:00
|
|
|
ResourceUsers: Roles{
|
2021-10-04 21:50:44 +02:00
|
|
|
RoleDefault: Actions{ActionUpdateSelf: true},
|
|
|
|
RoleAdmin: Actions{ActionUpdateSelf: true},
|
|
|
|
RoleMember: Actions{ActionUpdateSelf: true},
|
2021-08-12 20:20:29 +02:00
|
|
|
},
|
2020-06-25 14:54:04 +02:00
|
|
|
}
|