Reflection Service Returns a Number Instead of Security Capability

Pretty much every SecurityCapability present in documentation actually returns a number
https://create.roblox.com/docs/reference/engine/classes/ReflectionService
Seems like unintended behavior
Example:

 [601] =  ▼  {
                       ["Display"] =  ▶ {...},
                       ["Name"] = "WeldConstraint",
                       ["Permits"] =  ▼  {
                          ["New"] = 16777216
                       },
                       ["Superclass"] = "Instance"
},

Same with read/write permission.

2 Likes

Thank you for the report.

This is just how Output prints out the SecurityCapabilities object (using __tostring).
API does not return a number.

3 Likes

I have notified the team so that we can potentially make the output contain the human-readable string of individual capability names.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.