Edugate/ResourceRegistry — pull request #30 by janul (2014-01-11 02:20:36+00:00)
Title: implementation new ARP generator with different logic

we have attr release policy: Global->perFederation->perSP

default logic: if you set perSP policy for any attrs the parent policy is ignored.
For example:
we have set Global policy for attrs MAIL, EPPN -> permit
we have set perSP policy for attr MAIIL, AFFILIATION
then the final policy is only set form MAIL and AFFILIATION , and EPPN is ignored which follows deny

new logic (by inherit): policy is inherited from parents and ovewritten with new value (permit/deny)
For example:
we have set Global policy for attrs MAIL, EPPN -> permit
we have set perSP policy for attr MAIIL, AFFILIATION
then the final policy is set for MAIL(val from perSP), AFFILIATION(val from perSP) , and EPPN (val from Global)

To keep backward compatibility you need to set below line in config_rr.php file to enable new arpgenerator:
$config['arpbyinherit'] = TRUE;