# Basic setup ACL's
# Allow everyone to access base dn to set up a connection
access to dn.base=""
by * read
# Allow everyone to access all entries
access to attrs=entry
by self write
by * read
# password only can be changed by self and admins
access to attrs=userPassword
by anonymous auth
by group/nsdGrp/memberURL="cn=Admins,ou=Groups,dc=nsd,dc=org" write
by self write
by * none
# Staff tree ACLs
# everyone can read these attributes, admins can write
access to dn.subtree="ou=staff,ou=People,dc=nsd,dc=org"
attrs=cn,givenName,sn,mail,displayName
by group/nsdGrp/memberURL="cn=Admins,ou=Groups,dc=nsd,dc=org" write
by * read
# everyone can read these attributes, admins and self can write
access to dn.subtree="ou=staff,ou=People,dc=nsd,dc=org"
attrs=nsdPrefLastName,nsdPrefFirstName
by group/nsdGrp/memberURL="cn=Admins,ou=Groups,dc=nsd,dc=org" write
by self write
by * read
# all authenticated people can read, admins can write
access to dn.subtree="ou=staff,ou=People,dc=nsd,dc=org"
attrs=nsdMobilePhone,nsdAltPhone,nsdGeneralPhone,nsdPhoto
by group/nsdGrp/memberURL="cn=Admins,ou=Groups,dc=nsd,dc=org" write
by users read
by * search
# all authenticated people can read, admins & self can write
access to dn.subtree="ou=staff,ou=People,dc=nsd,dc=org"
attrs=nsdPersonalEmail,nsdPersonalPhone,nsdPersonalMobilePhone
by group/nsdGrp/memberURL="cn=Admins,ou=Groups,dc=nsd,dc=org" write
by self write
by users read
by * search
# self can read these attributes, admins can write
access to dn.subtree="ou=staff,ou=People,dc=nsd,dc=org"
attrs=nsdEmployeeNumber,nsdBargainUnit,nsdPCN
by group/nsdGrp/memberURL="cn=Admins,ou=Groups,dc=nsd,dc=org" write
by self read
by * search
# for everything else, only admins can read & write
access to *
by group/nsdGrp/memberURL="cn=Admins,ou=Groups,dc=nsd,dc=org" write
by * search
cheers,
ski