acl: Avoid infinite recursion...

This commit is contained in:
Armon Dadgar 2014-08-12 15:10:45 -07:00
parent 02e71c70c5
commit 9c2b7b9e10
1 changed files with 2 additions and 2 deletions

View File

@ -158,10 +158,10 @@ func (p *PolicyACL) KeyWrite(key string) bool {
// ACLList checks if listing of ACLs is allowed
func (p *PolicyACL) ACLList() bool {
return p.ACLList()
return p.parent.ACLList()
}
// ACLModify checks if modification of ACLs is allowed
func (p *PolicyACL) ACLModify() bool {
return p.ACLModify()
return p.parent.ACLModify()
}