Documentation ¶
Index ¶
- Variables
- func IsAdmin(jwt auth.Token) bool
- type AspectNodeQuery
- type Com
- type IdWrapper
- type PermSearchElement
- type PermissionHolders
- type Security
- func (this *Security) CheckBool(jwt auth.Token, kind string, id string, action model.AuthAction) (allowed bool, err error)
- func (this *Security) CheckMultiple(jwt auth.Token, kind string, ids []string, action model.AuthAction) (result map[string]bool, err error)
- func (this *Security) GetAsUser(jwt auth.Token, url string, result *[]interface{}) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ResourcesEffectedByUserDelete_BATCH_SIZE = 1000
Functions ¶
Types ¶
type AspectNodeQuery ¶
type AspectNodeQuery struct {
Ids []string `json:"ids"`
}
type Com ¶
type Com struct {
// contains filtered or unexported fields
}
func (*Com) GetAspectNodes ¶
type PermSearchElement ¶
type PermSearchElement struct { Id string `json:"id"` Name string `json:"name"` Creator string `json:"creator"` PermissionHolders PermissionHolders `json:"permission_holders"` }
type PermissionHolders ¶
Click to show internal directories.
Click to hide internal directories.