You can hide this task using Structure. Follow the below steps:
- Go to Navigator >> Configuration >> Structure
- In Structure, click on My team and Go to Quick Actin Tab
- In Quick Action Expand employment section
- Search for Task 'Allocate Checklists'
- Edit and set it to invisible or write an EL as per your need to control the visibility.
you can use EL similar to:
#{securityContext.userInRole['ABC_EMPLOYEE']} where ABC_EMPLOYEE is the role code.
I hope this blog post was helpful for you. If you have any questions or feedback, please leave a comment below.