package
0.4.3
Repository: https://github.com/jmpsec/osctrl.git
Documentation: pkg.go.dev

# Functions

CreateUserManager to initialize the users struct and tables.
Helper to convert received permissions into struct.
Helper to compare two set of permissions.

# Constants

AdminLevel for admin privileges.
CarveLevel for carve privileges.
No description provided by the author
NoEnvironment to be explicit when used.
QueryLevel for query privileges.
UserLevel for regular user privileges.

# Structs

AdminUser to hold all users.
UserPermissions to abstract the permissions for a user.
TokenClaims to hold user claims when using JWT.
UserManager have all users of the system.
UserPermission to hold all permissions for users.

# Type aliases

AccessLevel as abstraction of level of access for a user.
UserAccess to provide an abstraction for user access between environment and permissions.