-
Sub-task
-
Resolution: Fixed
-
L3 - Default
-
None
-
L
Upon clicking on this link for a specific process in modeler (e.g. from an email):
- Check if an Optimize Collection already exists for this project, if not create it
- Create a Dashboard and add it to the collection above
- Take user directly to the newly created Dashboard
- Make sure to pass the appropriate query string parameters to trigger the app-cues (check with eric.lundberg which parameter is necessary)
To test this:
1 ) Create a process definition, deploy it and start an instance
2) Then call https://<OPTIMIZE_ROOT_URL>/#/collection/<PROCESS-DEF-KEY>/dashboard/<PROCESS-DEF-KEY> , where PROCESS-DEF-KEY is the processKey of the process you deployed in step 1
3) You should expect to see a newly created collection, containing a dashboard and 12 reports. Moreover the user that called the link should have the role "manager" in the collection that was created
4) Call the same link with a different user
5) As long as the user has access rights to the process definition, she should be able to see the dashboard as well and is automatically added with the role "editor" to the collection that was created in step 2