Provide a way for non-admin users to execute selected admin only functionality

Currently some functionality is only available to admin users yet sometimes it may make sense for users to be able to access aspects of this functionality. One example is listing information about connections (see list connections as NON-Admin ). Another is changing the run user for a Scenario (e.g., to a service account). 

One can use a global API key with admin rights in a python script to achieve this but not a good practice to have that key stored in the code.

It'd be great if there was a way for an admin user to authorize specific Python functions to operate with admin permissions. Perhaps this could be done via a plugin although that would be more limited in scope. I suspect there are a number of ways this could be accomplished. I'm just sharing a couple ideas that have come to mind. 

This would be flexible way for each organization to decide specifically what they might want to provide their users access to without changing the default behavior for DSS.

CC: @MRvLuijpen@tim-wright@PierreB 

5 Comments
Mark_Treveil
Dataiker Alumni

We have this request via our main customer feedback and it will be added to the feature backlog.

Status changed to: In the Backlog

We have this request via our main customer feedback and it will be added to the feature backlog.

AshleyW
Dataiker

Hi @Marlan ,

We'd added your suggestion to an existing and related idea in our backlog.

Best,

Ashley

Status changed to: In Backlog

Hi @Marlan ,

We'd added your suggestion to an existing and related idea in our backlog.

Best,

Ashley

Great, thank you!

Marlan

Great, thank you!

Marlan

This is doable via WebApps which use the Dataiku API. So while it does take a bit of coding you can expose any functionality you can think of as most things can be done via the Dataiku API. We have a WebApp that allows our Production support to rerun Production Scenarios in our Automation Production node, in case of failures that are transient or due to external factors.

This is doable via WebApps which use the Dataiku API. So while it does take a bit of coding you can expose any functionality you can think of as most things can be done via the Dataiku API. We have a WebApp that allows our Production support to rerun Production Scenarios in our Automation Production node, in case of failures that are transient or due to external factors.

MichaelG
Community Manager
Community Manager
 
I hope I helped! Do you Know that if I was Useful to you or Did something Outstanding you can Show your appreciation by giving me a KUDOS?

Looking for more resources to help you use DSS effectively and upskill your knowledge? Check out these great resources: Dataiku Academy | Documentation | Knowledge Base

A reply answered your question? Mark as โ€˜Accepted Solutionโ€™ to help others like you!
Status changed to: In the Backlog