All requests are run one after the other:
- "Admin" registers new user (using PlayFabClientAPI.RegisterPlayFabUser): SUCCESS
- "Admin" updates newly registered user's contact email (using PlayFabClientAPI.AddOrUpdateContactEmail): SUCCESS
- "Admin" retrieves newly registered user's AccountInfo.TitleInfo.TitlePlayerAccount.Id
(using PlayFabClientAPI.OnGetAccountInfo): SUCCESS
- "Admin" invites newly registered user to group
(using PlayFabClientAPI.InviteToGroup): FAILURE
Error Message:
/Group/InviteToGroup: 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. See the permissions APIs in PlayFab's Admin Api to add a permission.
- Using Unity
- "Admin" has "admins" role of all related groups, so by default this should not be a problem.
- Modified "ENTITY GLOBAL TITLE POLICY" to include:
{ "Action": "*", "Effect": "Allow", "Resource": "pfrn:group--*!*/*", "Principal": { "MemberOf": { "RoleId": "admins" } }, "Comment": "Allow members of the group administrator role to do anything with the group", "Condition": null }
and all Group's Policy settings were updated accordingly, so I don't think is actually a "permission" issue.
- Added a 20 seconds gab between user registration and group invitation requests but didn't change anything.
Any suggestions would be greatly appreciated, thank you.