Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authorized ¶
Authorized returns the list of entities who have the specified role on a tablel.
func GetCurrentAclFactory ¶
GetCurrentAclFactory returns current table acl implementation.
func GetCurrentConfig ¶
GetCurrentConfig returns a copy of current tableacl configuration.
func InitFromProto ¶
InitFromProto inits table ACLs from a proto.
func SetDefaultACL ¶
func SetDefaultACL(name string)
SetDefaultACL sets the default ACL implementation.
Types ¶
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.