filtering on multi-valued attributes
Chad La Joie
lajoie at itumi.biz
Tue Sep 27 15:51:04 BST 2011
On Sep 27, 2011, at 10:38 AM, James Bardin wrote:
> On Tue, Sep 27, 2011 at 10:26 AM, Chad La Joie <lajoie at itumi.biz> wrote:
> My first inclination was to use something like this:
>
> <AttributeRule attributeID="scopedMemberAffiliation">
> <PermitValueRule xsi:type="basic:OR">
> <basic:Rule xsi:type="basic:AttributeValueString"
> attributeID="eduPersonAffiliation" value="staff"/>
> <basic:Rule xsi:type="basic:AttributeValueString"
> attributeID="eduPersonAffiliation" value="student"/>
> <basic:Rule xsi:type="basic:AttributeValueString"
> attributeID="eduPersonAffiliation" value="faculty"/>
> </PermitValueRule>
> </AttributeRule>
Okay, so that will allow the values 'staff', 'student', and 'faculty' of the attribute with the id 'scopedMemberAffiliation' to be released (assume no other rules denies them). So, nothing there is going to release, or deny the release of, a value of 'member'.
More information about the users
mailing list