Is the "Admin" privilege necessary to create branches in a project?
Hello,
I am an administrator on our DSS servers and can create branches in project without issue. However it seems that unless a non-admin user created the project they cannot create branches (or switch branches) in a project unless they are made "Admin" under the "Security" tab, either by giving the permission directly or to a group they are a member of. I would prefer giving people the least privileges possible, is there a way to give users/groups the ability to create branches without making them admins of the project?
Operating system used: amazonlinux (2)
Operating system used: amazonlinux (2)
Best Answer
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,088 Neuron
Yes you do need to be either a system Admin, project Admin or project Owner as the branching impacts every user using the project (as per the documentation only one branch can be active at one time). That's why you may want to use project duplication rather than Git branching as it only requires project read permissions and doesn't impact other users.
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,088 Neuron
I think you should give this section of the documentation a read:
https://doc.dataiku.com/dss/latest/collaboration/version-control.html#using-projects-per-branch
"We strongly recommend using duplicated projects. It is important to understand that a given DSS project can only be on one branch at any given time. If you switch the branch of the current project, this will affect all collaborators, and you can’t work on multiple branches at once. In addition, when using the governance capabilities, not using the recommended duplicated projects may lead to the loss of some governance data (ex: workflows attached to Saved Model Versions or Bundles)."
-
I saw that and we considered using that approach but we want to investigate our options before we decide. Do you know if the "Admin" privilege is necessary to create branches? I can't find any information about this in the link you sent.
-
Ok, thank you!