Our client is using Rule Based Workflows, so when the approver approves the document, he comments on the document first like "approved" and then the document is moved to another folder where another approver has to approve according to that documents approval flow.
We are using comments so that a high authority specific user can have a treck on who approved the document.
Now the approvers in the workflow are the users who have manager permissions. So our client's concern is that even Managers shoudn't be able to edit or delete other user's comments.
I want to do the changes on application level. I tried to edit comment-list.js in "webapps/share/components/comments" and but none of the changes took place. I even tried to alert a message in comment-list.js file (to check if any edition in the file is working or not) but nothing happened.
Can you please suggest me what file should I change in Share.
The solution you suggested is fine but my senior told me to do changes on application level.
Any suggestion regarding this matter will be very helpful to me.