Opened 4 years ago

Closed 4 years ago

#1053 closed Bug (fixed)

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

Reported by: matt Owned by:
Priority: major Milestone: Piwik 0.5
Component: UI - UX (AngularJS, twig, less) Keywords: haspatch
Cc: Sensitive: no

Description

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.

Attachments (1)

piwik-1053.patch (1.1 KB) - added by pebosi 4 years ago.
removes add site link if not superuser

Download all attachments as: .zip

Change History (5)

comment:1 Changed 4 years ago by matt (mattab)

  • Component changed from Core to UI (templates, javascript)
  • Milestone set to 1 - Piwik 0.5.1

Changed 4 years ago by pebosi

removes add site link if not superuser

comment:2 Changed 4 years ago by 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

comment:3 Changed 4 years ago by vipsoft (robocoder)

  • Keywords haspatch added
  • Milestone changed from 1 - Piwik 0.5.1 to 1 - Piwik 0.5

comment:4 Changed 4 years ago by vipsoft (robocoder)

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.