67bf46dd9a
Renamed ResourcePeople to ResourceUsers. Work in progress. Added a few "default" roles as a reminder for later.
25 lines
658 B
Go
25 lines
658 B
Go
package acl
|
|
|
|
var Permissions = ACL{
|
|
ResourceDefault: Roles{
|
|
RoleAdmin: Actions{ActionDefault: true},
|
|
},
|
|
ResourceConfig: Roles{
|
|
RoleAdmin: Actions{ActionDefault: true},
|
|
RoleGuest: Actions{ActionRead: true},
|
|
},
|
|
ResourceConfigOptions: Roles{
|
|
RoleAdmin: Actions{ActionDefault: 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, ActionDownload: true},
|
|
},
|
|
ResourceUsers: Roles{
|
|
RoleDefault: Actions{ActionUpdateSelf: true},
|
|
},
|
|
}
|