module

Commander::AutomationPolicy

Constants

MUTATING_COMMAND_IDS = Set {"file.copy", "file.copy_to", "file.renmov", "file.renmov_to", "file.mkdir", "file.mkdir_named", "file.delete", "file.delete_plan", "file.operation_execute", "vfs.execute_pending_action"}
MUTATING_PREFIXES = ["file.", "vfs.execute_"]

Class methods

ipc_allowed?(command : AutomationCommand, registry : CommandRegistry) : Bool
Source
ipc_allowed?(command : AutomationCommand) : Bool
Source
ipc_denial(command : AutomationCommand) : String
Source
mutating?(command_id : String, registry : CommandRegistry) : Bool
Source
mutating?(command_id : String) : Bool
Source