Content
Prohibit to view Activity Tracking for certain roles
Hello,
I tried to search for this, but was not succesful. Due to data security reasons, I would like to prohibit a certain role to see the activity tracking, but it seems not possible.
It seems that I could only deactivate the activity tracking completely.
Thank you very much for your help.
Hi Andreas,
unfortunately, the activity view is tied to the view_projects permission for historic reasons. It wouldn’t be too hard to change that (i.e., add a new permission view_activity that controls that).
Please open a feature request and add it to the wish list - we will consider it when reworking the activity.
For anyone interesting in fixing this, we do welcome PRs on that end. It’s quite easy to add a new permission (check config/initializers/permissions.rb, where you’ll have to move the activities: [:index] to the newly created permission).
Best,
Oliver