Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Account ¶
type Account struct { ID string `json:"id"` Referrer string `json:"referrer"` Groups map[string]*Group `json:"groups"` Permissions map[string]*Permission `json:"permissions"` }
Account type of a permission tree
func NewAccountFromKeys ¶ added in v3.7.0
NewAccountFromKeys new account with owner and active key
type Item ¶
type Item struct { ID string `json:"id"` // key pair id Permission string `json:"permission"` IsKeyPair bool `json:"is_key_pair"` Weight int `json:"weight"` }
Item identity of a permission owner
Click to show internal directories.
Click to hide internal directories.