Hi I'm very confused how to specify the resource value of the policy JSON in APIs such as AcceptGroupApplication and RemoveGroupApplication. Where can I find the documentation for that
Hi I'm very confused how to specify the resource value of the policy JSON in APIs such as AcceptGroupApplication and RemoveGroupApplication. Where can I find the documentation for that
Currently, there is no Documentation mentioned about “ the resource value of the policy JSON”. However, you can refer to “Your Game Manager” -> ”Your Title” -> “Groups” -> “Policy” for detailed policy information about a specific group. You can also modify and save the policy in there.
That doesn't cover all the policies. For example I have a officer role that I want them to be able to accept applications but not be able to change roles of the members
According to your example, you can add the code shown below inside your “Group” -> “Policy”.
{
"Action": "*",
"Effect": "Allow",
"Resource": "pfrn:group--*!*/Applications/*",
"Principal": {
"MemberOf": {
"RoleId": "officer"
}
},
"Comment": "Allow members of the group officer role to do anything about the applications",
"Condition": null
},
{
"Action": "*",
"Effect": "Deny",
"Resource": "pfrn:group--*!*/Roles/*",
"Principal": {
"MemberOf": {
"RoleId": "officer"
}
},
"Comment": "Not allow members of the group officer role to modify anything about the roles",
"Condition": null
}
22 People are following this question.