[gatein-issues] [JBoss JIRA] Updated: (GTNPORTAL-1163) Missing permission check on displayed item in 'portalnavigation' node 's page

Minh Hoang TO (JIRA) jira-events at lists.jboss.org
Thu May 6 00:34:05 EDT 2010


     [ https://jira.jboss.org/jira/browse/GTNPORTAL-1163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Minh Hoang TO updated GTNPORTAL-1163:
-------------------------------------

    Assignee: Minh Hoang TO


> Missing permission check on displayed item in 'portalnavigation' node 's page
> -----------------------------------------------------------------------------
>
>                 Key: GTNPORTAL-1163
>                 URL: https://jira.jboss.org/jira/browse/GTNPORTAL-1163
>             Project: GateIn Portal
>          Issue Type: Bug
>    Affects Versions: 3.0.0-GA
>            Reporter: Minh Hoang TO
>            Assignee: Minh Hoang TO
>
>  When user clicks on 'Site' node, the page content shows portal sites for which he/she has edit permission either on navigation or layout. The current Java code check only edit permissions on PortalConfig
> // Get portals without edit permission
>       UserACL userACL = getApplicationComponent(UserACL.class);
>       Iterator<PortalConfig> iterPortals = tempArrayList.iterator();
>       PortalConfig portalConfig;
>       while (iterPortals.hasNext())
>       {
>          portalConfig = iterPortals.next();
>          if (!userACL.hasEditPermission(portalConfig))
>          {
>             iterPortals.remove();
>          }
>       }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list