Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
mattab opened this Issue · 3 comments

3 participants

@mattab
Owner

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

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

@pebosi

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

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

@mattab mattab added this to the Piwik 0.5 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.