Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Permission ¶
type Permission int
Permission represents access to a given resource.
const ( ViewAdminPanel Permission = iota CreateShortLink ViewShortLink EditShortLink DisableShortLink DeleteShortLink CreateChange ViewChange EditChange DeleteChange UpgradeUser DowngradeUser DisableUser DeleteUser CreateAPIKey )
Click to show internal directories.
Click to hide internal directories.