Ticket #1716 (new defect)

Opened 13 years ago

Dynamic treeview roots

Reported by: gracinet Owned by: tziade
Priority: P2 Milestone: CPS 3.5.7
Component: CPSPortlets Version: TRUNK
Severity: normal Keywords: dynamic tree portlet
Cc:

Description

The dynamic treeview mode of the navigation portlets hides the folder of lowest level it gets from portal_tree: its roots, in the code terminology.

This is fine for the situation where these are 'sections' and 'workspaces', but in the situation where most users don't have the WorkspaceReader? role on, e.g, 'workspaces', it ends up considering as roots the first folders in the hierarchy that the user can see - and these shouldn't be hidden.

I don't have a quick solution: the logic seems to iterate on the children (not really hiding, then).

Note: See TracTickets for help on using tickets.