Permissions

Permission ids a plugin declares in plugin.json. The build refuses a call whose permission is not declared, and the runtime refuses it when the owner has not granted it: a permission must be both declared and granted, and a plugin that misses one is not enabled at all (BLOCKED_PERMISSIONS). Revoking any single permission stops the whole plugin. The owner sees the approval text from api/permissions.json.

Properties

Link copied to clipboard
val HOOKS_PARKING: String = "hooks.parking"
Watch and override parking-system messages: hooks (veto, observe) and events().on(HookObserved.class, ...), which travels on the event bus but is gated like a hook.
Link copied to clipboard
val NETWORK: String = "network"
Query loopback services on the unit: net.
Link copied to clipboard
val NETWORK_OUTBOUND: String = "network.outbound"
Connect to hosts outside this unit through net.
Link copied to clipboard
val NETWORK_WIFI: String = "network.wifi"
Use the Wi-Fi client uplink: wifi.
Link copied to clipboard
val PLATFORM_UNRESTRICTED: String = "platform.unrestricted"
Unrestricted: reflection, raw sockets and stock HMI classes.
Link copied to clipboard
val UI_SLOT_CAR_MENU: String = "ui.slot.carmenu"
Add a row to the Car menu: carMenuRow.
Link copied to clipboard
val UI_SLOT_STATUS_BAR: String = "ui.slot.statusbar"
Show a status-line item or a toast: statusItem, toast.
Link copied to clipboard
val VEHICLE_PARKING_WRITE: String = "vehicle.parking.write"
Change parking-sensor settings: overrideSoundDirections.
Link copied to clipboard
val VEHICLE_READ: String = "vehicle.read"
Read vehicle state through vehicle (and so parking).