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

mattab opened this Issue Dec 1, 2009 · 3 comments

3 participants

Piwik Open Source Analytics member

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


Attachment: removes add site link if not superuser


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


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