question

Anh Le avatar image
Anh Le asked

Prevent Client from calling some special APIs of Entity

Hi,

Is there any way to prevent Client from calling PlayFabEntityAPI.CreateGroup or other some special APIs of Entity?

Similarly, with the case PlayFabAdminAPI.UpdatePolicy doesn't allow to call some APIs from Client: Resource = “pfrn:api—/Client/ConfirmPurchase”, Effect = EffectType.Deny

apis
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

·
pfnathan avatar image
pfnathan answered

Yes, there's a way, you can do Resource = "pfrn:api—/Group/CreateGroup"

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Anh Le avatar image Anh Le commented ·

We got this error:
Resource name /Group/CreateGroup is not valid. The path must be either * or the name of a client, server, admin or matchmaker api.

It seems that the Entity for Group is quite new since the document for Update Policy is quite confusing for us.

0 Likes 0 ·
pfnathan avatar image pfnathan ♦ Anh Le commented ·

Apologies on late reply. after investigating the issue, we concluded that it's a bug on our end and being triaged. will post an update once bug resolves.

0 Likes 0 ·

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.