Class RoutingTaskSecurityUpdaterListener
- java.lang.Object
-
- org.nuxeo.ecm.platform.routing.core.listener.RoutingTaskSecurityUpdaterListener
-
- All Implemented Interfaces:
EventListener
public class RoutingTaskSecurityUpdaterListener extends Object implements EventListener
Grants the READ/WRITE permissions on the route instance to all task actors. This is needed beacuse an user having a task assigned should be able to see the relatedRoute and to set global workflow variables.- Author:
- mcedica
-
-
Constructor Summary
Constructors Constructor Description RoutingTaskSecurityUpdaterListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DocumentRoutingService
getDocumentRoutingService()
void
handleEvent(Event event)
Handle the given event.
-
-
-
Constructor Detail
-
RoutingTaskSecurityUpdaterListener
public RoutingTaskSecurityUpdaterListener()
-
-
Method Detail
-
handleEvent
public void handleEvent(Event event)
Description copied from interface:EventListener
Handle the given event. The listener can cancel the event by callingEvent.cancel()
- Specified by:
handleEvent
in interfaceEventListener
- Parameters:
event
- the event
-
getDocumentRoutingService
protected DocumentRoutingService getDocumentRoutingService()
-
-