OriginalPostID-235796
Discussion posts and replies are publicly visible
tanmayareddyn241 We have come across this issue today. Reassign Task in 'Task Smart Services' reassigns a task with all possible privileges. This isn't a candidate for a solution.
'Reassign with privileges' is the one that could help you here as this sets the privileges during the reassignment. But this does not block all privileges and still, the user can 'Reject' the task in this case. Underlying API:setPrivilege() in Assignment.Assignee which actually sets the privilege on the task(based on the constants in Assignment) has only 3 configurable privileges available namely Reject, Reassign within the assignees pool, Reassign to anyone and there isn't a constant that blocks all privileges. (I think we can try by getting the privilege(using getPrivilege()) value of a task that has no privileges at all and use the same value in setprivilege() while setting the privileges) Let me know if you need an alternate and complete solution which will block the privileges on a task in any given case.