I accidentally replaced the original api policy instead of adding a new rule. After that, in the project settings, there is an empty api policy window and there is no way to roll back.
..........
Here is the default policy, you can put it to your title’s policy. Please replace the EntityId with your title’s info.
[ { "Action": "*", "Effect": "Allow", "Resource": "*--*", "Principal": { "ChildOf": { "EntityType": "namespace", "EntityId": "xxxxxxxxxxxxxxx" } }, "Comment": "The default allow title in namespace full access", "Condition": { "CallingEntityType": "title" } }, { "Action": "*", "Effect": "Allow", "Resource": "pfrn:data--*![SELF]/Profile/*", "Principal": "[SELF]", "Comment": "The default allow profile self access", "Condition": null }, { "Action": "*", "Effect": "Allow", "Resource": "pfrn:data--*![SELF]/Profile/*", "Principal": { "ChildOf": { "EntityType": "[SELF]" } }, "Comment": "The default allow profile child access", "Condition": null }, { "Action": "Write", "Effect": "Deny", "Resource": "pfrn:data--*!*/Profile/Statistics/*", "Principal": "*", "Comment": "Only title can edit user statistics", "Condition": { "CallingEntityType": "title_player_account" } }, { "Action": "Write", "Effect": "Deny", "Resource": "pfrn:data--*!*/Profile/Statistics/*", "Principal": "*", "Comment": "Only title can edit user statistics", "Condition": { "CallingEntityType": "character" } }, { "Action": "Write", "Effect": "Deny", "Resource": "pfrn:data--*!*/Profile/Statistics/*", "Principal": "*", "Comment": "Only title can edit user statistics", "Condition": { "CallingEntityType": "master_player_account" } }, { "Action": "Write", "Effect": "Deny", "Resource": "pfrn:data--group!*/Profile/Statistics/*", "Principal": { "MemberOf": { "RoleId": "*" } }, "Comment": "Only title can edit group statistics", "Condition": null }, { "Action": "LobbyServerFull", "Effect": "Allow", "Resource": "pfrn:data--game_server!*/Lobby/Server/*", "Principal": { "ChildOf": { "EntityType": "title", "EntityId": "xxxxx" } }, "Comment": "The Default allow title full Lobby server functionality", "Condition": { "CallingEntityType": "game_server" } } ]
11 People are following this question.