surfnet-niels / edupersonEntitlement-and-IsMemberOf-scoped-semantics

A RFC on scoping the semantics of the edupersonEntitlement and eduMember IsMemberOf attribute values
0 stars 0 forks source link

Additional hasMembers fields #2

Closed biancini closed 9 years ago

biancini commented 9 years ago

Hi Niels, regarding attributes and their semantic, friends from Renater and from Cesnet were suggesting to manage another attribute (in addition to isMemberOf). This attribute would be "hasMembers" and must provide a multivalued field containing all members of the groups the user is member of. This field would include information that could be also retrieved from VOOT, but will help some application to have the relevant information about co-members of the logged in user (which seems to be enough to some use cases).

So for every group listed in isMemberOf, this field should have a value with the following structure:

Where localGroupName is the same name contained in the IsMemberOf and member is a list of members' unique identifier (including the user himself).

An example of the values contained in this field could be: group@grouper.garr.it: biancini@garr.it farina@garr.it

What's your opinion on this? Cheers, A.

surfnet-niels commented 9 years ago

Hi,

A few thoughts:

| The hasMember attribute associated with a group is a collection | of values each of which identifies an entity that belongs to the | group. attributetype ( 1.3.6.1.4.1.5923.1.5.1.2 NAME 'hasMember' DESC 'identifiers for entities that are members of the group' EQUALITY caseExactMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' )

So a person cannot have members, only groups have members. Not a problem you might think, but I then wonder, so how could I ever get a SAML hasMember attribute for a group? An authentication deals with people, so hasMember has no context there. The same goes for AA queries. So how do I query an AA to give me a hasMember Attribute?

biancini commented 9 years ago

I agree on this Niels. I agree the hasMembers is conceptually not a user a attribute (and thus should not be provided by an AA at login time) and I agree on the privacy (and capacity problem). I just wanted to open a discussion here, since we discussed some of this in a f2f meeting. If we don't consider to include such defintion in this doc, then we can close the "issue".

surfnet-niels commented 9 years ago

We should I think write down why we exclude it :)