SecurityCapabilities¶
A set of SecurityCapability items. See script capabilities.
Not implemented in Nova
This datatype is not registered in Nova's Lua VM. Constructing or receiving it from an API call will not work.
Description¶
An immutable set of SecurityCapability values that controls which
engine APIs and actions a script inside a sandboxed container can access.
Assign a SecurityCapabilities value to an instance's
Capabilities property to restrict the scripts
beneath it.
Capability enforcement takes effect when Workspace.SandboxedInstanceMode is set to SandboxedInstanceMode.Experimental.
Constructors¶
new Not yet Returns a new set of capabilities from zero or more SecurityCapability items.
Returns a new set of capabilities from zero or more SecurityCapability items.
fromCurrent Not yet Returns a new set of capabilities from the capabilities of the calling function.
Methods¶
Add Not yet Returns a new set of capabilities with zero or more additions.
Returns a new set of capabilities with zero or more additions. If you add SecurityCapability items that are already present, they are not duplicated.
Add Not yet Returns a new set of capabilities with the provided set added.
Returns a new set of capabilities with the provided set added. If you add SecurityCapability items that are already present, they are not duplicated.
Remove Not yet Returns a new set of capabilities with zero or more deletions.
Returns a new set of capabilities with zero or more deletions. SecurityCapability items not present in the original set are ignored.
Remove Not yet Returns a new set of capabilities with the provided set deleted.
Returns a new set of capabilities with the provided set deleted. SecurityCapability items not present in the original set are ignored.
Contains Not yet Returns whether a set of capabilities contains the specified SecurityCapability items.
Returns whether a set of capabilities contains the specified SecurityCapability items. The set must contain all provided items to return true.
Contains Not yet Returns whether a set of capabilities contains another set of capabilities.
Roblox reference: SecurityCapabilities