what is the instance Authorization level for getChoicesFromPython or shared Managed Folders?

James_E
James_E Registered Posts: 3 ✭✭

I have a python recipe that is simply pulling from a managed folder from a different project and loading the files as choices into the plugin UI.

Come to find out that other Data Scientist permission level users do not have access to select something from the dropdown. that being said I've looked into permissions, I am full admin. I tried to slowly give them permissions on the project until I gave the admin on the project but they were still not able to select anything from the dropdown list. because it was not populated.

is there some Instance Authorization or setting that I am missing short of adding them to our Admin user group?

Other things attempted

  • adding the user to be authorized for the code environment the plugin uses
  • verified that the user can actually edit the plugin they are trying to use.

the Instance Authorizations that the user is missing are

  • create workspaces
  • manage own code envs
  • manage all code envs
  • manage own cluster
  • manage all culsters
  • manage own code studio template
  • manage all code studio templates
  • edit lib folder
  • create user connections
  • create published projects
  • manage feature store.

and naturally global admin - which I can not give.

Code syntax for the Folder in the plugin is

dataiku.Folder('sharedFolder', "projectForSharedFolder")

Operating system used: Windows 11

Answers

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,324 Dataiker

    Hi James,

    Is the managed folder a local filesystem folder or a remote( cloud storage)
    Does the user have at least read-only permission on the project with the respective folder, and do they have permission to access the folder's connection?

    To best understand the issue and missing permission, it would be best to have a user reproduce the issue, capture an instance diagnostics immediately after, and open a support ticket with the details.

    https://doc.dataiku.com/dss/latest/troubleshooting/diagnosing.html#getting-an-instance-diagnosis
    https://doc.dataiku.com/dss/latest/troubleshooting/obtaining-support.html

    Thanks

  • James_E
    James_E Registered Posts: 3 ✭✭

    So he has admin permission on the folder that the shared managed folder is present and on the project that the folder is shared too.

    I am not sure what you mean by "do they have permission to access the folders connection" do you have more details on what that means?

    I am generating the diagnostic now.

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,324 Dataiker

    Hi,
    What I meant is if the user has permissions on the connection for the managed folder :

    Screenshot 2025-08-18 at 17.57.53.png

    We will wait for the support ticket.

    Thanks

  • James_E
    James_E Registered Posts: 3 ✭✭

    I finally found where this screen is. all of the file system related connections were enabled for every analyst but details readable was disabled for everyone. I added a user group to the list but it did not resolve the issue with my users.

    I submitted my ticket

Setup Info
    Tags
      Help me…