You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/30 13:16:04 UTC

[jira] [Commented] (SYNCOPE-675) Role tree construction takes some time if there are a lot roles

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

ASF GitHub Bot commented on SYNCOPE-675:
----------------------------------------

GitHub user giacomolm opened a pull request:

    https://github.com/apache/syncope/pull/8

    [SYNCOPE-675] Role tree builder now performs a lazy load of roles

    See https://issues.apache.org/jira/browse/SYNCOPE-675 for details. 
    It is worth noting I'm exposing children service, with few modification. In the current implementation of this method (in Syncope), owned entitlements are controlled: in this pull request I removed it. In fact the list method - that in my opinion has a larger functionality - doesn't include this check.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/giacomolm/syncope 1_2_X

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/syncope/pull/8.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #8
    
----
commit dc25fd21437fd8066d2330ba2d0be78de9e5002c
Author: giacomolm <gi...@hotmail.it>
Date:   2015-06-30T10:48:30Z

    [SYNCOPE-675] Role tree builder now performs a lazy load of roles

----


> Role tree construction takes some time if there are a lot roles
> ---------------------------------------------------------------
>
>                 Key: SYNCOPE-675
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-675
>             Project: Syncope
>          Issue Type: Improvement
>          Components: console
>    Affects Versions: 1.2.4
>            Reporter: Giacomo Lamonaco
>            Assignee: Giacomo Lamonaco
>            Priority: Minor
>             Fix For: 1.2.5
>
>
> MembershipPanel and TreeRolePanel visualize roles through a wicket tree. Try to create a lot of roles in Syncope. Then try to open the role page or try to edit an user opening the edit modal page. You will experience some delay (it depends also on your system performance).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)