How to Mass Update Chart Owners
Hi, We currently limit chart/dashb ownership to a few admins, and those admin users have been added via local means by creating users and assigning Admin role. Now we have integrated with our company OAUTH (PING SSO) so the local users will never be logging in again since everyone must now use their company id. I am able to manually mark the few admins' company ids to the admin role; however I would like to do a update using the metadata database to add the few company ids (that are admins) as owners of all the charts (and dashboards). I want to do this so that any of the admins can save/overwrite the modified charts.
In the database for slices, I only see created_by_fk and changed_by_fk and I am not sure how to modify owners. I do not want to use the UI to edit each chart/dashb. :-)
Can you suggest a way to do this? I am using v33
thanks
Issue-Label Bot is automatically applying the label #question to this issue, with a confidence of 0.87. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Update slice_user since slice owners are a many to many relationship
thanks @dpgaspar I should have noticed that.