Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanDoAction ¶
func CanDoAction(ps []mgmtauthorization.Permission, a string) (bool, error)
CanDoAction returns true if a given action is granted by a set of permissions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.