Add Model To Group Inventory On Submit #43
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Roblox has a new capability to add assets to a group inventory to make them loadable on a group game. Take advantage of this to finally move maptest places into the staging group.
You can do this using the
https://apis.roblox.com/asset-permissions-api/v1/assets/permissions
endpoint.You'll need an account cookie and the usual x-csrf-token stuff to use it.
Using the web interface roblox provides, the request needs to be a
PATCH
with the following data:subjectType
: Should never change (we are always giving a game place aka an experience aka a universe permission to use an asset)subjectId
: This the id of the place we are giving the asset permission to (in this case,4422715291
is the bhop maptest place from the staging group)action
&enableDeepAccessCheck
: I've got no clue what these do, however they are always the same ("Use" and true respectively)requests
: This will contain a list of asset ids being granted access, every entry in the requests list contains theassetId
andgrantToDependencies
keys. My assumption is that the second key is to determine wether we are giving or removing access to the asset. You can also set more than 1 asset's permissions at once by simply adding more entries underrequests
Important note: Once this call is made, there appears to be no way to undo the operation. I am unable to remove an asset's access...