[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: "inverse" ACL



Pierangelo Masarati writes:

I'm afraid there's nothing like what you need; you may try to
do something this way:


access to dn.regex=".*(cn=.+)$"
by group/organizationalRole/roleOccupant.regex="cn=ds-manager,$1" read
# ...


maybe in an incremental form:

access to dn.regex=".*([^,]+),dc=example,dc=com"
by group/organizationalRole/roleOccupant.regex="cn=ds-manager,$1,dc=example,d c= com" read


access to dn.regex=".*([^,]+,[^,]+),dc=example,dc=com"
by group/organizationalRole/roleOccupant.regex="cn=ds-manager,$1,dc=example,d c= com" read


access to dn.regex=".*([^,]+,[^,]+,[^,]+),dc=example,dc=com"
by group/organizationalRole/roleOccupant.regex="cn=ds-manager,$1,dc=example,d c= com" read


access to dn.regex=".*([^,]+,[^,]+,[^,]+,[^,]+),dc=example,dc=com"
by group/organizationalRole/roleOccupant.regex="cn=ds-manager,$1,dc=example,d c= com" read


with the required depth ...

Note that there was a bug in 2.1 code that inhibited the appropriate evaluation of acls with regex substitution (fixed in HEAD); moreover,
the group access control is not implemented yet in back-bdb.


Pierangelo.

Dr. Pierangelo Masarati | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale | fax: +39 02 2399 8334
Politecnico di Milano | mailto:pierangelo.masarati@polimi.it
via La Masa 34, 20156 Milano, Italy | http://www.aero.polimi.it/~masarati