question

leo-1 avatar image
leo-1 asked

Entity Global Title Policy Issue

For some reason i try to put this in my Entity Global Title Policy

{ "Resource": "pfrn:api--/Client/LoginWithCustomID", "Action": "", "Effect": "Deny", "Principal": "", "Comment": "Deny client access to LoginWithCustomID" }

But it always returns with this error

Failed to save new global policy: Invalid action * in statement.

Title 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

·
Gosen Gao avatar image
Gosen Gao answered

Global Title Policy and API Access Policy are two different things, the former is associated with the new Entity Model and the latter is for the classic API model. According to the statement you posted, I believe you want to disable API LoginWithCustomID which should be done via API Access Policy. You can use Authentication - Update Policy - REST API (PlayFab Admin) | Microsoft Learn to update the API policy.

 { 
  "Resource": "pfrn:api--/Client/LoginWithCustomID",
  "Action": "*",
  "Effect": "Deny",
  "Principal": "*",
  "Comment": "Deny client access to LoginWithCustomID"
 }
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.