Provide a way for non-admin users to execute selected admin only functionality
![Marlan](https://us.v-cdn.net/6038231/uploads/lithium_attachments/n5296i8F6B67FE68128A4A.jpg)
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
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
Comments
-
We have this request via our main customer feedback and it will be added to the feature backlog.
-
AshleyW Dataiker, Alpha Tester, Dataiku DSS Core Designer, Registered, Product Ideas Manager Posts: 161 Dataiker
-
Marlan Neuron 2020, Neuron, Registered, Dataiku Frontrunner Awards 2021 Finalist, Neuron 2021, Neuron 2022, Dataiku Frontrunner Awards 2021 Participant, Neuron 2023 Posts: 318 Neuron
Great, thank you!
Marlan
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 1,876 Neuron
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.