[Date Prev][Date Next]
(ITS#5702) [enhancement] allow cross-attribute constraints in slapo-constraint(5)
Full_Name: Pierangelo Masarati
Submission from: (NULL) (18.104.22.168)
Submitted by: ando
I've added a "set" type to slapo-constraint(5) that allows to write complex
constraint_attribute cn,sn,givenName set
"(this/givenName + [ ] + this/sn) & this/cn"
forcing a relationship between the values of cn, sn and givenName.
The possibility to enforce the same constraint on multiple attributes separated
by commas is given to all constraint types, as a side-effect.
The check is passed the entry during add operations, while it attempts to build
the entry resulting from a set of modifications during modify operations.