GetPlaceVersionHistory endpoint should not require scope to ALL RESOURCES

Links

Endpoint: https://apis.roblox.com/place-version-history-api/v1/{place_id}/history
Docs: https://create.roblox.com/docs/en-us/cloud/reference/domains/apis#PlaceVersion_GetPlaceVersionHistory
Scope: universe.place:read - Scopes | Documentation
Staff Announcement: Auto-Generate Publish Notes for Easier Version Control - #17 by code4xp

The Issue

As a Roblox developer, it is currently too hard to use the place version history open cloud endpoint securely. Specifically, it requires the universe.place:read scope on every user and group game in your entire account. If you try to scope this permission to a specific experience, the API returns this error:

{
  code: 0,
  message: "Scope must be configured to allow all resources.",
}

Creating a key with this level of permissions alone is risky. I’ll let the UI explain why & the recommended workaround:

There is no reason for an endpoint which fetches a specific place’s information to require an allow all permission like this.

If Roblox is able to address this issue, it would improve my development experience because I will not have to create an alt account to use this API per Roblox’s own guidance to secure my games. Per the staff’s announcement, one use case of this feature seems is an in-game change log. Creating a key with this level of permission for a change log is incredibly insecure.

Proposal

Ideally, this endpoint should work with the existing universe.place:read scope and not require unlimited unscoped access for a place-specific endpoint. This scope is only for this endpoint and the contributors endpoint so there would be no harm in securing this endpoint.

Thank you for reading. There’s a couple other possible ways to resolve this but in its current state this endpoint is a landmine.

2 Likes