On 04/09/2013 11:17, Salim Boulkour wrote:
Then, how do I link the badge membership and the R role ?

Assigning a membership schema only to a specific membership (e.g. to a specific role) is planned as enhancement for Syncope 1.2.0 [1]; currently any membership schema is assigned to any membership.

Regards.

[1] https://issues.apache.org/jira/browse/SYNCOPE-131

2013/9/4 Francesco Chicchiriccò <[email protected] <mailto:[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 Member
http://people.apache.org/~ilgrosso/

Reply via email to