Extend the "Rebuild Code Studio templates" option to non-admins when updating a code environment

Tanguy
Tanguy Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Neuron, Dataiku DSS Adv Designer, Registered, Dataiku DSS Developer, Neuron 2023 Posts: 124 Neuron

I was pleasantly surprised to discover the "Rebuild Code Studio templates" option in the "Containerized Execution" settings of a code environment. This feature enables the rebuilding of Code Studio templates that rely on a given code environment, effectively killing two birds with one stone.

However, after investigating with Dataiku Support, I learned that this option is currently restricted to admins. As a result, even if a non-admin user has the necessary permissions to update a Code Studio template and its associated code environment, they cannot use this feature. Instead, they must update the code environment first and then rebuild the Code Studio templates separately, requiring two steps.

According to Dataiku Support, this limitation exists because non-admin users cannot view Code Studio template usage via the "Compute Usage" section in the code environment.

I struggle to understand why this functionality is restricted to admins. It seems logical to extend this capability to non-admin users who have the appropriate permissions to update both a code environment and a Code Studio template linked to it.

3
3 votes

New · Last Updated

Setup Info
    Tags
      Help me…