Documentation ¶
Index ¶
Constants ¶
View Source
const (
ALL = "*"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ACL ¶
type ACL interface { // IsMember checks the membership of a principal in this ACL IsMember(principal string) bool }
ACL is an interface for Access Control List
func Authorized ¶
Authorized returns the list of entities who have at least the minimum specified Role on a table
type Role ¶
type Role int
Role defines the level of access on a table
func RoleByName ¶
RoleByName returns the Role corresponding to a name
Click to show internal directories.
Click to hide internal directories.