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

Remove link to add a website if user is not the super user #1053

Closed
mattab opened this issue Dec 1, 2009 · 3 comments
Closed

Remove link to add a website if user is not the super user #1053

mattab opened this issue Dec 1, 2009 · 3 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Dec 1, 2009

From forum:

the link to add a site is displayed in the tab "Sites" and if I try to add a site I have the message "it requires superuser access".

We should not display this link for non super user users.
Keywords: haspatch

@pebosi
Copy link
Contributor

pebosi commented Dec 3, 2009

Attachment: removes add site link if not superuser
piwik-1053.patch

@pebosi
Copy link
Contributor

pebosi commented Dec 3, 2009

added a patch to remove "add site" link if not superuser. i added the isSuperUser to global view, because i thought it could be usefull in other plugins too, otherwise we could add it to sitesmanager controller.

regards pebosi

@robocoder
Copy link
Contributor

In [1623], fixes #1053 - don't display "add site" link if not the superuser

@mattab mattab added this to the Piwik 0.5 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

3 participants