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

(ITS#4860) Sets' enhancement



Full_Name: Raphael Ouazana
Version: HEAD
OS: Linux
URL: ftp://ftp.openldap.org/incoming/raphael-ouazana-070307.patch
Submission from: (NULL) (82.225.231.106)


Hi,

This patch creates a new operator for sets : /-
It allows to get the nth parent of all the elements of a set.
For example, if user is cn=user,ou=people,dc=example,dc=com :
user/-1 : resolves to set {ou=people,dc=example,dc=com}
user/-2 : resolves to set {dc=example,dc=com}
Of course it works the same for sets of more than 1 element.

It is very useful when ACLs depends on hierarchy.

Legal notice :
This patch file is derived from OpenLDAP Software. All of the modifications to
OpenLDAP Software represented in this following patch were developed by Raphael
Ouazana raphael.ouazana@linagora.com. These modifications are not subject to
any
license of Linagora.

The attached modifications to OpenLDAP Software are subject to the following
notice:
Copyright 2007 Raphael Ouazana, Linagora
Redistribution and use in source and binary forms, with or without
modification,
are permitted only as authorized by the OpenLDAP Public License.