You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by Salim Boulkour <sa...@arismore.fr> on 2013/09/04 10:49:09 UTC

Membership attributes

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".
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 ?


--
*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

Re: Membership attributes

Posted by Salim Boulkour <sa...@arismore.fr>.
Good to know !
Thanks again for your answers.


--
*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ò <il...@apache.org>

>  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ò <il...@apache.org>
>
>>  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/
>
>

Re: Membership attributes

Posted by Francesco Chicchiriccò <il...@apache.org>.
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ò <ilgrosso@apache.org 
> <ma...@apache.org>>
>
>     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/


Re: Membership attributes

Posted by Salim Boulkour <sa...@arismore.fr>.
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ò <il...@apache.org>

>  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/
>
>

Re: Membership attributes

Posted by Francesco Chicchiriccò <il...@apache.org>.
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/