Notifications

412 views

Description

Scripted ACL doesnt work as designed in Planning Console.

Steps to Reproduce

Use Case: Project tasks should not be editable if assigned to user is not same as current logged in user 
 
Modify below OOB write ACL for pm_project_task to achieve this use case
1. Modify the pm_project_task.NONE ACL (Sys_id=597807bd0a0007284e3ea66215e856d1)
2. Remove the Role
3. Add the following script
if (current.assigned_to==gs.getUserID()){
      answer=true; 
}
else {answer=false;}
gs.addInfoMessage(answer);
 
4. Create a project task and assign it to a user abel.tuter
5. Impersonate the user abel.tuter
6. Navigate to project task
7. You will see that the user has the access to modify the task in project task form(ACL answer returns true)
8. Open Planning console
9. Everything is read only(ACL answer false). user should be able to edit project task 

Workaround

No workaround available for this. Please uptake the relevant release/patch where its fixed

 


Related Problem: PRB1111218

Seen In

Kingston

Fixed In

London

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:42:29
Published:2019-04-08