Documentation ¶
Index ¶
- type IdWrapper
- type Security
- func (this *Security) CheckBool(token string, kind string, id string, action model.AuthAction) (allowed bool, err error)
- func (this *Security) CheckMultiple(token string, kind string, ids []string, action model.AuthAction) (result map[string]bool, err error)
- func (this *Security) GetAdminUsers(token string, topic string, resourceId string) (admins []string, err error)
- func (this *Security) GetResourceRights(token string, kind string, id string, rights string) (result permmodel.EntryResult, found bool, err error)
- func (this *Security) ListAccessibleResourceIds(token string, topic string, limit int64, offset int64, action model.AuthAction) (result []string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Security ¶
type Security struct {
// contains filtered or unexported fields
}
func (*Security) CheckMultiple ¶
func (*Security) GetAdminUsers ¶ added in v0.0.18
func (*Security) GetResourceRights ¶ added in v0.0.18
Click to show internal directories.
Click to hide internal directories.