photoprism/internal/acl/roles.go
Michael Mayer 5d59b50912 Sharing: ACL authorization for REST API #18
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-25 14:54:04 +02:00

13 lines
235 B
Go

package acl
type Role string
type Roles map[Role]Actions
const (
RoleDefault Role = "*"
RoleAdmin Role = "admin"
RoleChild Role = "child"
RoleFamily Role = "family"
RoleFriend Role = "friend"
RoleGuest Role = "guest"
)