1
0
Fork 0
forked from External/grumble
This commit is contained in:
Tim Cooper 2016-03-25 22:05:23 -03:00
parent 083163daf9
commit 20eba760e5
15 changed files with 163 additions and 163 deletions

View file

@ -10,18 +10,18 @@ package acl
type Context struct {
// Parent points to the context's parent.
// May be nil if the Context does not have a parent.
Parent *Context
Parent *Context
// ACLs is the Context's list of ACL entries.
ACLs []ACL
ACLs []ACL
// Groups is the Context's representation of groups.
// It is indexed by the Group's name.
Groups map[string]Group
Groups map[string]Group
// InheritACL determines whether this context should
// inherit ACLs from its parent.
InheritACL bool
InheritACL bool
}
// indexOf finds the index of the context ctx in the context chain contexts.