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

Add 'group' field to Websites, to allow easier bulk access management #2042

Closed
mattab opened this issue Jan 21, 2011 · 6 comments
Closed

Add 'group' field to Websites, to allow easier bulk access management #2042

mattab opened this issue Jan 21, 2011 · 6 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Jan 21, 2011

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

Note

  • 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
Copy link
Member Author

mattab commented Jan 21, 2011

Notes

  • 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
Copy link
Member Author

mattab commented Jan 21, 2011

(In [3786]) Refs #2042

  • Adding functionnality in API

@mattab
Copy link
Member Author

mattab commented Feb 4, 2011

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

@mattab
Copy link
Member Author

mattab commented Feb 4, 2011

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

@mattab
Copy link
Member Author

mattab commented Feb 17, 2011

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

@mattab
Copy link
Member Author

mattab commented Mar 11, 2011

See #2174 for UI improvements

@mattab mattab added this to the Piwik 1.2 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
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

1 participant