We have a user profile for which we need to restrict the access to an assignment which is routed to worklist with below conditions.
1. Assignments in his own worklist
2. Assignments in worklist of operators sharing same work group
3. Assignments in the worklist of operators whose work group is in the list of workbaskets of this operator
To achieve this, we have given access when condition to the Assign-Worklist class of the access role specific to this operator. With this access when, we are able to restrict the access to work-list assignments in DEV.
But this access when is not working in QA/XAT. Irrespective of this when, user is able to access any assignment in any work-list.
So while debugging this, we tried completely removing the access to worklist assignments for this user by giving the access level as 0 to open, modify, delete instances of Assign-Worklist class. But even then the user is able to access all the worklist assignments