We're updating the issue view to help you get more done. 

WOH duplicate-event does not work for unprivileged users

Steps to reproduce

Steps to reproduce:
1. Create an unprivileged user Bob (roles: ROLE_ADMIN_UI, ROLE_UI_*)
2. Login as Bob
3. Duplicate an existing event (Events->Actions->Start Task->Duplicate)

Actual Results:
The workflow fails because WOH duplicate-event fails to create a snapshot of the duplicated event(s).

Expected Results:
The workflow should work in means of WOH duplicate-event succeeds to create the duplicates.

Analysis:
WOH duplicate-event fails to create a snapshot of the duplicated event(s). The reason is that the unprivileged user does not have access permissions to the duplicates yet: The ACLs have been duplicated but the authorization service has not yet been told this. That would happen automatically after WOH duplicate-event succeeded. But in this particular case, that is too late.

There are two ways to address this issue:

Either a) switch to a privileged system user to call takeSnapshot() or b) manually tell the authorization service the new ACLs for the duplicates.

Workaround (if any):
None.

Status

Assignee

Sven Stauber

Reporter

Sven Stauber

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

None

Fix versions

Affects versions

5.0

Priority

Major