Fix an issue with excluded attributes

This commit is contained in:
Alex 2020-01-26 18:57:29 +01:00
parent 82402749e6
commit b768b78406
1 changed files with 1 additions and 1 deletions

2
acl.go
View File

@ -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)
}