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

Marlan
Marlan Neuron 2020, Neuron, Registered, Dataiku Frontrunner Awards 2021 Finalist, Neuron 2021, Neuron 2022, Dataiku Frontrunner Awards 2021 Participant, Neuron 2023 Posts: 320 Neuron

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 ). 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

9
9 votes

In the Backlog · Last Updated

Comments

  • Mark_Treveil
    Mark_Treveil Dataiker Alumni Posts: 30 ✭✭✭✭✭

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

  • Ashley
    Ashley Dataiker, Alpha Tester, Dataiku DSS Core Designer, Registered, Product Ideas Manager Posts: 163 Dataiker

    Hi @Marlan
    ,

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

    Best,

    Ashley

  • Marlan
    Marlan Neuron 2020, Neuron, Registered, Dataiku Frontrunner Awards 2021 Finalist, Neuron 2021, Neuron 2022, Dataiku Frontrunner Awards 2021 Participant, Neuron 2023 Posts: 320 Neuron

    Great, thank you!

    Marlan

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,107 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.

Setup Info
    Tags
      Help me…