Arun Kumar created SYNCOPE-1583:
-----------------------------------

             Summary: For members part of a Dynamic Group, but cannot access 
group attributes in member mapping
                 Key: SYNCOPE-1583
                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1583
             Project: Syncope
          Issue Type: Bug
    Affects Versions: 2.1.7
         Environment: Red Hat Linux, 2.1.7-SNAPSHOT syncope
            Reporter: Arun Kumar


We have users U1, U2 ..etc and  Other AnyType Classes as well. We created a 
group G1 associated to resource R1 as a dynamic group with rule to dynamically 
make Users/AnyObjects based on a schema attribute on the respective type. When 
we provision members on G1 and then verify membership by going to 'members' 
option on G1, we can see the membership established for U1. 

 

But when we have a mapping on a resource R1 with internal attribute - 
_groups[G1].schemaAttribute_   mapped to any external attribute example 
_groupname_, the groupname always comes through as empty. We see the membership 
established in syncope but the group schema attribute value does not flow as 
per mapping.

The same above mapping works if G1 is a static group and U1 is made a member of 
G1 then we can see the mapping value  for _groups[G1].schemaAttribute_ flow 
into _groupname_ and thus allow scripts to perform any action based on the 
mapped group attribute.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to