Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mattab opened this issue Sep 19, 2012 · 6 comments
Open

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

mattab opened this issue Sep 19, 2012 · 6 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@mattab
Copy link
Member

mattab commented Sep 19, 2012

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:

  • This ticket is related to another feature request, "Define User Groups which are set of pemissions, and assign to users a group".
    • Maybe we should implement this ticket using a "group" mechanism, or maybe not, to be discussed. definitely, definining groups would be better as it would allow to reuse a set of permissions (eg. View all reports except Ecommerce reports), and easily assign to other users.

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

@mattab
Copy link
Member Author

mattab commented Sep 19, 2012

Attachment:
Advanced permissions settings.png

@mattab
Copy link
Member Author

mattab commented Jan 9, 2014

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!

@mattab mattab added this to the Future releases milestone Jul 8, 2014
@matthar
Copy link

matthar commented Sep 17, 2015

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
Copy link
Member Author

mattab commented Sep 22, 2015

@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

@mattab mattab modified the milestones: Mid term, Long term Sep 22, 2015
@pruss
Copy link

pruss commented Jan 29, 2016

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 mattab modified the milestones: Long term, Mid term Dec 5, 2016
@mattab
Copy link
Member Author

mattab commented Apr 24, 2018

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

3 participants