Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createGroup return Unhandled Exception: 1685915268:3100:The requester is only allowed to create groups with the types: [0]:null:null #1249

Closed
weishirongzhen opened this issue Jun 26, 2023 · 1 comment
Labels
question Further information is requested

Comments

@weishirongzhen
Copy link

weishirongzhen commented Jun 26, 2023

create a new group type in admin page, then call
client.groupService.createGroup(groupName,typeId:2432292779693449216.toInt64());

to create a new group,

will return Unhandled Exception: 1685915268:3100:The requester is only allowed to create groups with the types: [0]:null:null

how to allow all users can creategroup with new group type except default typeid 0.

image

and I found some config in:
image

how can I config single user be able to create multi group types?

@JamesChenX JamesChenX added the question Further information is requested label Jun 26, 2023
@JamesChenX
Copy link
Member

how to allow all users can creategroup with new group type except default typeid 0

Because all users are in the default permission group (the group with ID 0) by default, you can select the default permission group under the Permission Group tab, and then click Update Selected Permission Groups button, and input the group IDs that you want to allowed like [1,2,3], and click OK.
image

how can I config single user be able to create multi group types

You can create a new permission group for the user.
And assign the permission group ID for the user as follows:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants