CommandPermission
Specifies the minimum security permission level required to invoke a Studio command.
Items 2
| History | Name | Value | Description | |
|---|---|---|---|---|
| 485 | Plugin | 0 | The command is accessible to scripts running at the standard Plugin security level. | |
| 485 | LocalUser | 1 | The command requires the LocalUser security level, granting access to IDE-only APIs. |
Description
Specifies the minimum security permission level a Lua execution context must hold to invoke a Studio command registered through the plugin command system. CommandPermission.Plugin is the standard permission for plugin scripts; CommandPermission.LocalUser is the higher-privilege level reserved for IDE-only APIs.