Hi Team, How are we defining the roles while upser...
# getting-started
f
Hi Team, How are we defining the roles while upserting the groups.
r
Seems like we don't support specifying roles with Corpgroups... @gray-shoe-75895 could you confirm this?
g
@fast-account-85126 could you explain a bit more about what you're trying to accomplish?
f
Instead of creating the users individually on datahub we are trying to create the groups and adding the members to it using the add owners python code from the datahub. so we have to assign the roles to all the users like Reader/admin etc. How to do this? @gray-shoe-75895
@gray-shoe-75895 @delightful-ram-75848 any update please
g
You can use the graphQL APIs to assign roles to groups, as referenced here https://datahubproject.io/docs/next/authorization/roles#graphql