Enum SbcPermissions
Enumeration of supported plugin permissions
Namespace: DuetAPI.Utility
Assembly: DuetAPI.dll
Syntax
[JsonConverter(typeof(SbcPermissionsConverter))]
[Flags]
public enum SbcPermissions
Fields
Name | Description |
---|---|
CodeInterceptionRead | Intercept codes but don't interact with them |
CodeInterceptionReadWrite | Intercept codes in a blocking way with options to resolve or cancel them |
CommandExecution | Execute generic commands |
FileSystemAccess | Access files including all subdirecotires of the virtual SD directory as DSF user |
GpioAccess | Access /dev/gpio*, /dev/i2c*, and /dev/spidev* devices |
LaunchProcesses | Launch new processes |
ManagePlugins | Install, load, unload, and uninstall plugins. Grants FS access to all third-party plugins too |
ManageUserSessions | Manage user sessions |
NetworkAccess | Communicate over the network (stand-alone) |
None | No permissions set (default value) |
ObjectModelRead | Read from the object model |
ObjectModelReadWrite | Read from and write to the object model |
ReadFilaments | Read files in 0:/filaments |
ReadFirmware | Read files in 0:/firmware |
ReadGCodes | Read files in 0:/gcodes |
ReadMacros | Read files in 0:/macros |
ReadMenu | Read files in 0:/menu |
ReadSystem | Read files in 0:/sys |
ReadWeb | Read files in 0:/www |
RegisterHttpEndpoints | Create new HTTP endpoints |
ServicePlugins | Service plugin runtime information (for internal purposes only, do not use) |
SuperUser | Launch process as root user (for full device control - potentially dangerous) |
WebcamAccess | Access /dev/video* devices |
WriteFilaments | Write files in 0:/filaments |
WriteFirmware | Write files in 0:/firmware |
WriteGCodes | Write files in 0:/gcodes |
WriteMacros | Write files in 0:/macros |
WriteMenu | Write files in 0:/menu |
WriteSystem | Write files in 0:/sys |
WriteWeb | Write files in 0:/www |