Apps are designed with the principle of least privilege
Apps should only use the privileges they need, and request them at the time of accessing a privileged API. Apps must handle denials, and should provide a graceful fallback experience to users.Privileges
There are two types of privileges in Vega:- Install-time privileges: These are recorded when the app is installed and automatically granted when the app requests them.
- Run-time privileges: These are granted interactively by the user while the app is running, and might be denied. If the user denies the privilege request, the app should still function normally, perhaps with limited capabilities.
Declare privilege intent in the app manifest
Apps declare the privileges they require in the app’s manifest.toml file, as a[[needs.privilege]] or
[[wants.privilege]] section. Consult the Vega App Manifest File documentation.

