photoprism/internal/acl/resources.go
Michael Mayer 41fdba3cf7 Auth: Update ACL user roles #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-02 19:06:32 +02:00

29 lines
1 KiB
Go

package acl
type Resource string
const (
ResourceDefault Resource = "*"
ResourceConfig Resource = "config"
ResourceConfigOptions Resource = "config_options"
ResourceSettings Resource = "settings"
ResourceLogs Resource = "logs"
ResourceAccounts Resource = "accounts"
ResourceSubjects Resource = "subjects"
ResourceAlbums Resource = "albums"
ResourceCameras Resource = "cameras"
ResourceCategories Resource = "categories"
ResourceCountries Resource = "countries"
ResourceFiles Resource = "files"
ResourceFolders Resource = "folders"
ResourceLabels Resource = "labels"
ResourceLenses Resource = "lenses"
ResourceLinks Resource = "links"
ResourceGeo Resource = "geo"
ResourcePasswords Resource = "passwords"
ResourceUsers Resource = "users"
ResourcePhotos Resource = "photos"
ResourcePrivate Resource = "private"
ResourcePlaces Resource = "places"
ResourceFeedback Resource = "feedback"
)