Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Allow the Super User to copy a customized dashboard to another user #3379

Closed
mattab opened this Issue · 7 comments

3 participants

@mattab
Owner

An interesting feature was suggested in the survey:

Allow the Super User to Assign other users a users a customized dashboard (ie. dashboard layouts can be copied to the user)

A custom dashboard can take long time to build and It would make the work of someone in the company reusable to other users :-)

Proposal:

  • Below 'manage dashboard' a new option 'Copy this dashboard layout to a user'
  • A Popover opens with 2 fields (1) Dashboard name (defaults to current name but can be changed) and (2) Copy this dashboard to user [ ]
  • The user select box code to display could be refactored from the user select box in UsersManager as to have the logic only once in the whole piwik

What do you think?

@sgiehl
Collaborator

(In [7357]) fixes #3379 added possibility to allow super user to copy the current dashboard to another user

@sgiehl
Collaborator

(In [7364]) refs #3379 added missing dashboard function

@mattab
Owner

(In [7399]) Refs #3379 Fix error for non admin users

@mattab mattab added this to the 1.9.2 - Piwik 1.9.2 milestone
@sgiehl sgiehl was assigned by mattab
@philipobrien

Is there any API call that could do this, rather going through the UI?

@sgiehl
Collaborator

No. Those methods are in the Dashboard model but not available in the API

@philipobrien

Thanks for the quick reply. I am working on a small node package for working with Piwik so I have just included a function call to do what I want. I set my desired dashboard as an admin then using node-mysql retrieve this layout directly from the piwik_user_dashboard table and update the other user tables with this same value.

@mattab
Owner

It may make sense to add a new APi for that, feel free to create an issue if you need this :+1:

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.