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

Advanced user permissions to allow users to view some reports only #3389

Open mattab opened 12 years ago

mattab commented 12 years ago

In Piwik a "view" or "admin" user can see all reports.

We could add a new Admin tab, or sub-tab to the Users tab, that would let Super User assign users a set of specific permissions, rather than the default "view all".

Implementation: we could use the existing hook in frontcontroller, that would let a plugin manage the permission to access this specific controller.action call:

Piwik_PostEvent('FrontController.dispatch', $params);

(Note: maybe needs to be moved inside the try block just below.

See a screenshot for an example from another tool.

Note:

Anyone interested and have some time, please let's discuss the implementation,

mattab commented 12 years ago

Attachment: Advanced permissions settings.png

mattab commented 10 years ago

Duplicated by #4488

Btw If you are interested by this feature, contact Piwik experts via: http://piwik.org/consulting/ and we can build it for you!

matthar commented 9 years ago

Hello @mattab ,

i'm very interested in this feature. I've been looking for something like this for hours, but couldn't find a similar solution.

Is this feature already in development?

mattab commented 9 years ago

@matthar This feature is not in development yet - and not scheduled. But it would be great to have this in Piwik. Maybe oAuth2 could be implemented as standard solution? #906

pruss commented 8 years ago

Do have any estimations how much time and money it would require to implement this feature, i.e. limit access to widgets for users? Pls drop PM.

mattab commented 6 years ago

A customer also requested the abilty to restrict "View" users and not allow them to create/edit custom dashboards. Maybe if we release an advanced permission system it would need to also handle these extra permissions...