On 04/09/2013 10:49, Salim Boulkour wrote:
Hi everyone,

I'm still looking at the Syncope inner data model, and currently am reviewing the membership concept. I see that I can extend the attributes schema for the "membership" object, but I don't understand how this is then applyed to a user.

What I understand is that a membership = "a link between a user a role".

More or less: membership attributes (and derived, and virtual) are user attributes, but assigned only to users that belong to a certain role, and with different values for each assigned role.

Then, I would try to attach a membership to a role, so when I give the role to a user, the user gets the extended attributes defined on the membership ... Is this correct ? And how would I do that ?

This is exactly how it is meant to be: if you create a role R and a membership schema "badge", then when assigning R to an user U, such user will be also given a "badge" attribute.

In the admin console, you will find the membership attributes, when editing an user, under the Roles tab, by clicking on each of the assigned role.

Regards.

--
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/

Reply via email to