[
https://issues.apache.org/jira/browse/SYNCOPE-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Francesco Chicchiriccò updated SYNCOPE-1944:
--------------------------------------------
Description: The value for membership derived attributes should be
evaluated from the defining JEXL expression with context of both user's / any
object's and membership's plain attribute values. (was: A group with both
plain and derived attribute aren't copy in the user membership when this group
is assign.
To repoduce this case start with an empty Syncope and feed it with the joined
curl requests.
At the end the membership attributs looks like:
{code:java}
"memberships": [
{
"groupKey": "019bc165-6d14-7814-8c44-72d10d4edb87",
"groupName": "appAdmin",
"plainAttrs": [],
"derAttrs": [
{
"schema": "login",
"values": [
"adm-"
]
}
]
}
],
{code}
No plain attributes and only the fixed part of the derived attribute.)
> Membership derived attributes are not computed from membership plain
> attributes
> -------------------------------------------------------------------------------
>
> Key: SYNCOPE-1944
> URL: https://issues.apache.org/jira/browse/SYNCOPE-1944
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 4.0.3
> Reporter: Stéphane POPOFF
> Priority: Major
> Fix For: 4.0.4, 4.1.0
>
> Attachments: curlRequestGroups.txt
>
>
> The value for membership derived attributes should be evaluated from the
> defining JEXL expression with context of both user's / any object's and
> membership's plain attribute values.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)