Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidIdentifier ¶
func IsValidIdentifier(id identifier.Identifier) bool
Types ¶
type Role ¶
type Role struct { Id string `json:"id" bson:"id"` Name string `json:"name" bson:"name"` APIPermissions []api2.Permission `json:"apiPermissions" bson:"apiPermissions"` ViewPermissions []view2.Permission `json:"viewPermissions" bson:"viewPermissions"` }
func (*Role) CompareAPIPermissions ¶
func (r *Role) CompareAPIPermissions(perms []api2.Permission) bool
func (*Role) CompareViewPermissions ¶
func (r *Role) CompareViewPermissions(perms []view2.Permission) bool
Click to show internal directories.
Click to hide internal directories.