[APA]The task shouldn't be assigned to user that does not have ACTIVITI_USER role
Description
Deploy an app with a process that has a user task with assignee only.
Start a process with the assignee.
With admin user try to assign the task to an user that have access to the app, but doesn't have ACTIVITI_USER role, has only CTIVITI_ADMIN role:
Expected result: The admin user shouldn't be able to assign it to user from step 3.
Actual result: The admin user is able to assign the task to user from step 3.
Activity
Please don't use the customer requests/issue EPIC if the issue is not related to a customer with a linked MNT ticket. These bugs should be in the Maintenance EPIC not Customer EPIC. Thanks.
[This comment has been reassigned to allreplies@alfresco.com as part of the Alfresco cloud migration project. The author of this comment was skomeravelli] Tested the bug fix with the following steps and it now meets the expected result
It looks fine
Deploy an app with a process that has a user task with assignee only.(hruser)
Start a process with the assignee.
With admin user try to assign the task to an user that have access to the app(sampleuser), but doesn't have ACTIVITI_USER role, but has only ACTIVITI_ADMIN role
The admin user was not able to assign it to sampleuser who do not have access to ACTIVTI_USER role