@mattab opened this Issue on January 21st 2011 Member

When an agency uses Piwik to manage customers websites, there is often a relationship that one customer will have several websites.

It would be useful if Websites had a 'category' or 'group' attribute.

Then we add a new API to allow:

  • Fetch all websites from a given group (rather than selecting all websites and then filtering)

Other API changes:

  • addSite, updateSite should have a category parameter


  • setting this parameter only possible by Super User

Use case:

  • create new user, need to set permissions
  • $idSites = fetch all websites belonging to a given customer (group == customerName)
  • call UsersManager.setUserAccess($newUser, 'view', $idSites)
@mattab commented on January 21st 2011 Member


  • In the 'All Websites' dashboard, the Super User could see an aggregate number of visits/pages for the group. Websites would appear below their group row.
  • the Websites edit table will have anew column when Super User only
@mattab commented on January 21st 2011 Member

(In [3786]) Refs #2042

  • Adding functionnality in API
@mattab commented on February 4th 2011 Member

(In [3842]) Refs #2042 Adding SitesManager.getWebsitesGroups which returns the list of all website groups set

@mattab commented on February 4th 2011 Member

(In [3844]) Naming consistency, not Websites but Sites refs #2042

@mattab commented on February 17th 2011 Member

We might do the UI changes in All websites (add the column) but for now it's enough

@mattab commented on March 11th 2011 Member

See #2174 for UI improvements

This Issue was closed on March 11th 2011
Powered by GitHub Issue Mirror