lsc
lsc copied to clipboard
allow javascript in LDAP filters
It would be nice to have the possibility to use javascript in LDAP filter, even if srcBean and dstBean are not available at this place. For example for this use case:
var today = new Date();
// compute todayGeneralizedTime
var result = "(&objectClass=inetOrgPerson)(personLeaveDate >= " + todayGeneralizedTime + "))";
result
Indeed, but this can also be managed in conditions.
With #92 we could use an environment variable for the date.