Documentation ¶
Index ¶
- type Roles
- func (r Roles) Check(permissions []model.Permissions, privilege string, on *model.Entities) bool
- func (r Roles) CheckIfExists(roleID model.Identifier) (bool, *model.Role)
- func (r Roles) Create(roleID model.Identifier, allowed []string, denied []string, hidden bool) *er.WdbError
- func (r Roles) List(forceListAllRoles bool) Roles
- func (r Roles) Update(roleID model.Identifier, allowed []string, denied []string, hidden bool) *er.WdbError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.