//
pkg.gl
Category
github.com/ovh/cds
engine
api
rbac
package
0.55.1
Repository:
https://github.com/ovh/cds.git
Documentation:
pkg.go.dev
Versions
1
Dependencies
15
Dependents
2
Files
2.6k SLOC
#
Functions
Delete
HasGlobalRole
HasRoleOnProjectAndUserID
HasRoleOnProjectAndVCSUser
HasRoleOnRegionProject
HasRoleOnVariableSetAndUserID
HasRoleOnVariableSetsAndUserID
HasRoleOnVariableSetsAndVCSUser
HasRoleOnWorkflowAndUserID
HasRoleOnWorkflowAndVCSUsername
Insert
Insert a RBAC permission in database.
IsValidRBAC
LoadAll
LoadAllProjectKeysAllowed
LoadAllProjectKeysAllowedForVCSUser
LoadAllVariableSetsAllowed
LoadAllWorkflowsAllowed
LoadAllWorkflowsAllowedForVCSUSer
LoadRBACByHatcheryID
LoadRBACByID
LoadRBACByIDs
LoadRBACByName
LoadRBACByRegionID
LoadRBACHatcheryByHatcheryID
LoadRBACRegionOrganizations
LoadRegionIDsByRoleAndUserID
LoadRegionIDsByRoleAndVCSUSer
Update
#
Variables
LoadOptions
LoadOptions provides all options on rbac loads functions.
#
Type aliases
LoadOptionFunc
LoadOptionFunc is used as options to loadProject functions.