EWM: How to block users of specific roles to add attachments to a work item of specific type and status?
I have the request to block users to add attachments to work items of a specific type, if the work item is in a defined state and the user has not a specific role.
Users with a specific role may add attachments to this work item, independent of the status, but most users shall be blocked.
Is there any option to fulfill this, without creating an advisor on server side, which checks this?
2 answers
Hey,
Maybe someone will come here with more clever idea but as far I know the only idea would be using RTC server side extension (custom code) that will check the role, state and file attachment type you are trying to save. This would work in both types of RTC (EWM) clients but will require coding this.
Comments
Please go into the web admin UI and go to permissions. Select by role and then type "attachment" to filter the permissions. Remove the permissions to add attachments etc. for all the roles, except the ones that should be allowed.
This works for me here.