redash icon indicating copy to clipboard operation
redash copied to clipboard

Ability to handover ownership of objects (query, dashboard) to another user

Open arikfr opened this issue 8 years ago • 5 comments

For cases when a user leaves the organization, admin (or the user herself) should be able to transfer the ownership to someone else.

arikfr avatar Nov 13 '16 11:11 arikfr

The objects that should be handedover are:

  • QuerySnippet
  • Dashboard
  • Query

Any other else?

Would be a good idea to have this coded at the beginning as a cli task? like in https://github.com/getredash/redash/blob/master/redash/cli/users.py ?

ikks avatar Sep 22 '17 13:09 ikks

Alerts and NotificationDestinations.

arikfr avatar Oct 09 '17 10:10 arikfr

@arikfr Is there a way to transfer ownership without it being a feature available out of the box?

dhruvprajapati avatar Oct 21 '20 06:10 dhruvprajapati

Seems it possible to update via DB directly? Eg: change the foreign key user_id, but wondering if there is a break relationship data?

agungyuliaji avatar Aug 29 '23 05:08 agungyuliaji

@arikfr Hi Arik, I made a PR to provide functionality for updating the owner of a query if you want to check it out. I could make a similar change for updating dashboard owners as well if that is wanted.

jredblue avatar Mar 06 '24 18:03 jredblue