Want to Stop Rebuilding "Expensive" Parts of your Flow? Explicit Builds are the Answer!READ MORE

Set project's security with DSS API

tomas
Neuron
Neuron
Set project's security with DSS API



Hi,



 I would like to set the project's security settings in automated way during the deployment. Does DSS API support this kind of action? If not, is there any way how to do that? (dssadmin?)



Thanks

0 Kudos
2 Replies
Clément_Stenac
Dataiker
Dataiker
Hi,

It can be done through the API: https://doc.dataiku.com/dss/latest/python-api/rest-api-client/projects.html#dataikuapi.dss.project.DSSProject.get_permissions
0 Kudos
tomas
Neuron
Neuron
Author
I tried it already, but it contain just it did not displayed the already granted group data_admin on the project's Security tab. The owner is there but I was expecting that there will be the list of groups as well.

{u'additionalDashboardUsers': {u'users': []},
u'dashboardAuthorizations': {u'allAuthorized': False,
u'authorizations': ...
u'owner': u'dssetl',
u'permissions': []}

The permissions section does not change if I add new group to the project or modify the existing settings.
0 Kudos

Labels

?
Labels (3)
A banner prompting to get Dataiku