Add anyread to admins in example acl because don't be ridiculous
This commit is contained in:
parent
b768b78406
commit
611d182907
1 changed files with 4 additions and 4 deletions
8
main.go
8
main.go
|
@ -57,10 +57,10 @@ func main() {
|
|||
"*,dc=gobottin,dc=eu::read:*:* !userpassword",
|
||||
// Anybody can read and modify anything from their own entry
|
||||
"*::read modify:SELF:*",
|
||||
// The admin can add, modify, delete anything
|
||||
"cn=admin,dc=gobottin,dc=eu::add modify delete:*:*",
|
||||
// Members of the admin group can add, modify, delete anything
|
||||
"*:cn=admin,ou=groups,dc=gobottin,dc=eu:add modify delete:*:*",
|
||||
// The admin can read, add, modify, delete anything
|
||||
"cn=admin,dc=gobottin,dc=eu::read add modify delete:*:*",
|
||||
// Members of the admin group can read, add, modify, delete anything
|
||||
"*:cn=admin,ou=groups,dc=gobottin,dc=eu:read add modify delete:*:*",
|
||||
}
|
||||
acl, err := ParseACL(aclStr)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue