Ticket #2096 (new defect)

Opened 10 years ago

Portlets guard should react to the current CMF action/alias

Reported by: gracinet Owned by: madarche
Priority: P2 Milestone: CPS 3.5.7
Component: CPS (global) Version: TRUNK
Severity: normal Keywords: portlet guard


A long standing question, extracted from #1126

For now, it's able to check "published", i.e, the name of the current method (ZPT in general). But the actions/aliases system is typically used so that different document types can be rendered with different method, therefore making this unmanageable in the guard.

One of the consequences is that the flexibility allowed by actions and aliases is not leveraged that much in CPS : the average integration project will override cpsdocument_view and friends rather than change the view action. Of course the portlets guard is not the only culprit.

Note: See TracTickets for help on using tickets.