Then, how do I link the badge membership and the R role ?
-- *Salim BOULKOUR* Consultant IAM[image: Logo] ------------------------------ ARISMORE 137 Bureaux de la Colline - 92213 Saint-Cloud Cedex - France Ligne directe : +33 (0)1 78 16 48 26 - Portable : +33 (0)6 01 34 41 71 Standard : 01 55 57 21 60 - Fax : 01 55 57 04 45 2013/9/4 Francesco Chicchiriccò <[email protected]> > 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 > Memberhttp://people.apache.org/~ilgrosso/ > >
