Content
You are here:
Prohibit to view Activity Tracking for certain roles
Added by Andreas Kronwald about 7 years ago
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.
Replies (1)
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 theactivities: [:index]
to the newly created permission).Best,
Oliver