Issue creating group through dsscli

Ouss
Level 1
Issue creating group through dsscli

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

0 Kudos
1 Reply
SarinaS
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

0 Kudos