Issue creating group through dsscli
![Ouss](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar1.png)
Ouss
Registered Posts: 2 ✭
I want to create a group through command "dsscli create-group"
but the thing is no parameters can grant permission to "create workspace"
none of the --may-xxx flags grant creating workspace permission
Answers
-
Sarina Dataiker, Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 317 Dataiker
Hi @Ouss
,
Indeed you are correct that the dsscli option for creating groups hasn't been updated with an option to add workspaces.
If it would work, you can use the Python API for this functionality:import dataiku group = client.get_group('newgroup') definition = group.get_definition() definition['mayCreateWorkspaces'] = True group.set_definition(definition)
Thank you,
Sarina