Survey banner
The Dataiku Community is moving to a new home! We are temporary in read only mode: LEARN MORE

Set project's security with DSS API

tomas
Level 5
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
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
Level 5
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