Hello, everyone.
I need to allow new player to join entity group, but can't find a way to do it.
At first, I used InviteToGroup for this, but the issue was thrown like this:
"The claim was not allowed to perform the requested action based on the entity's access policy. Policy comment: By default, all requests are denied. If you expected this request to succeed, you may be missing a policy."
So I tried out JSON like this
{ "Action": "Read", "Effect": "Allow", "Resource": "pfrn:group--group!*/Members/*", "Principal": { "ChildOf": { "EntityType": "title", "EntityId": "F5AD" } }, "Comment": "Allow all players to read group members", "Condition": null }, { "Action": "Read", "Effect": "Allow", "Resource": "pfrn:group--group!*/Roles/*", "Principal": { "ChildOf": { "EntityType": "title", "EntityId": "F5AD" } }, "Comment": "Allow all players to read group roles", "Condition": null }
But no success.
After on work, I found out this thread
https://community.playfab.com/questions/23938/way-to-join-entity-group.html
So I used AddMembers to solve my problem and at that time the issue like this.
"Only requests using a Title principal may directly add members to groups".
I know that only title claimants may add them to the group, and others must use the group application or invite system to add new members to a group.
But I don't know what "title claimant" is and how to use this.
And in the case of using InviteToGroup, I don't also know correct additional JSON.
Thanks...