question

meibyhernandez avatar image
meibyhernandez asked

Could I create new role for all groups in default?

How can I set a rol by default on playfab? like is members and admin? So, when a group is created, the user can have this new rol without using the createRol API

Thanks!, I want to create new role - Creator for who created the group in default. And if users create a group then they are assigned automatically as the Members and the group will have 3 roles in group: Creator, Admins and Members. And Creator have full permissions in the group.

So could I do this in Playfab Manager or anyway? Because I don't want to use "CreateRole" API function after users create an group and then using "ChangeMemberRole" to change from Admins to Creator. It has to use much API functions.

Thank you so much!

Shared Group Data
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Neils Shi avatar image
Neils Shi answered

Currently, PlayFab does not support creating new default role for all groups. It only has two default roles: “admins” and “members”. After create group, you must use CreateRole and then use API ChangeMemberRole to change it.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.