[
https://issues.apache.org/jira/browse/SYNCOPE-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14112093#comment-14112093
]
Andrea Patricelli commented on SYNCOPE-543:
-------------------------------------------
Hi Stefan,
I checked the issue you pointed out.
I made a test with 1.1.8 standalone distribution downloadable from [1].
Then I just run Syncope standalone (as described in [2]) and made a test with
existing roles.
In particular I noticed that running test with "role 6 director" that has two
children "role 7 managingDirector" and "role 10 managingConsultant" inheritance
of boolean attributes works fine (I used existing attribute "show").
But editing boolean attribute "show" for "role 4 employee" the problem that you
described happens for "role 5 secretary".
Querying for roles with Syncope rest methods ([3]) I found that probably the
problem is due to the fact that by flagging to true inherit attribute option
for an existing (or a new) role, boolean-attribute values are set to "false"
and value cannot be changed accordingly to parent value.
[1] http://syncope.apache.org/downloads.html#a1.1.8_Ad_libitum
[2]
https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+standalone+distribution
[3]
https://cwiki.apache.org/confluence/display/SYNCOPE/REST+API+upgrade#RESTAPIupgrade-RoleService
> Role's "Inherit Attributes" does not inherit from parent role for check box
> attribute
> -------------------------------------------------------------------------------------
>
> Key: SYNCOPE-543
> URL: https://issues.apache.org/jira/browse/SYNCOPE-543
> Project: Syncope
> Issue Type: Bug
> Components: console, core
> Affects Versions: 1.1.7
> Reporter: Stefan Auw Yang
> Priority: Minor
>
> Even though "inherit Attributes" flag is checked, there is no way to set the
> child role's check box attribute (which defined with boolean type in schema)
> to inherit the value from parent.
> Is this considered as expected behavior?
> Is there actually any way to archive this?
--
This message was sent by Atlassian JIRA
(v6.2#6252)