[ 
https://issues.apache.org/jira/browse/SYNCOPE-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18096727#comment-18096727
 ] 

ASF subversion and git services commented on SYNCOPE-1984:
----------------------------------------------------------

Commit 2c956ebe80b9e132ea4e9528eebd9c174dfdd67e in syncope's branch 
refs/heads/master from Matteo Tatoni
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=2c956ebe80 ]

[SYNCOPE-1984] Add support to realm-based enduser formLayout configuration 
(#1457)


> Support realm-based enduser formLayout configuration
> ----------------------------------------------------
>
>                 Key: SYNCOPE-1984
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1984
>             Project: Syncope
>          Issue Type: New Feature
>          Components: enduser
>    Affects Versions: 4.1.1
>            Reporter: Matteo Tatoni
>            Assignee: Matteo Tatoni
>            Priority: Minor
>             Fix For: 4.1.2, 5.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The current {{formLayout}} configuration for enduser is applied globally and 
> does not allow different {{layouts}} based on the user realm.
> It would be useful to support realm-based configurations, allowing different 
> {{formLayout}} rules to be applied depending on the realm assigned to the 
> user.
> A possible structure could be:
> {code:json}
> {
>   "layouts": {
>     "/": {
>       "formClass": "org.apache.syncope.client.enduser.panels.UserFormPanel",
>       "auxClasses": true,
>       "groups": true,
>       "plainAttrs": true,
>       "derAttrs": true,
>       "resources": true,
>       "whichPlainAttrs": {},
>       "whichDerAttrs": {},
>       "passwordManagement": true,
>       "detailsManagement": true,
>       "sidebarLayout": {
>         "editUserEnabled": true,
>         "passwordManagementEnabled": true,
>         "securityQuestionManagementEnabled": true,
>         "extensionsEnabled": {}
>       }
>     },
>     "/even": {
>       "formClass": "org.apache.syncope.client.enduser.panels.UserFormPanel",
>       "auxClasses": false,
>       "groups": false,
>       "plainAttrs": true,
>       "derAttrs": false,
>       "resources": true,
>       "whichPlainAttrs": {},
>       "whichDerAttrs": {},
>       "passwordManagement": true,
>       "detailsManagement": true,
>       "sidebarLayout": {
>         "editUserEnabled": true,
>         "passwordManagementEnabled": false,
>         "securityQuestionManagementEnabled": true,
>         "extensionsEnabled": {}
>       }
>     }
>   }
> }
> {code}
> The {{/}} configuration would act as the default layout, while more specific 
> realm configurations would override it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to