matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.88k stars 2.65k forks source link

Add possibility to define data restrictions, for example revenue, IP, ... #19074

Open tsteur opened 2 years ago

tsteur commented 2 years ago

In the users management we already have the feature to grant extra capabilities to a role. This would be the opposite where we restrict certain features or metrics or insights and take it basically away from a role.

An example could be Revenue. Once a data restriction "Revenue" is applied, the user cannot see any revenue information anymore.

Further, plugins could define more restrictions like you maybe don't want to give everyone the ability to configure a new heatmap or session recording. This can be very helpful for privacy compliance to prevent someone creating eg a session recording without thinking about it etc.

There could also be a data restriction "Personal data" which access visibility on IP address, user ID, visitorID, and other personal data.

Some plugins could use this feature also to make the UI simpler.

heurteph-ei commented 2 years ago

Also some restrictions on segments (some user have an access to data from some segments only...) Edit: Related to: #19636