Submit your innovative use case or inspiring success story to the 2023 Dataiku Frontrunner Awards! LET'S GO

Set project's security with DSS API

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