Fix an issue with excluded attributes
This commit is contained in:
parent
82402749e6
commit
b768b78406
1 changed files with 1 additions and 1 deletions
2
acl.go
2
acl.go
|
@ -45,7 +45,7 @@ func ParseACL(def []string) (ACL, error) {
|
|||
attr, exclAttr := []string{}, []string{}
|
||||
for _, s := range splitNoEmpty(parts[4]) {
|
||||
if s[0] == '!' {
|
||||
exclAttr = append(exclAttr, s)
|
||||
exclAttr = append(exclAttr, s[1:])
|
||||
} else {
|
||||
attr = append(attr, s)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue