Skip to content

Commit

Permalink
Small additions
Browse files Browse the repository at this point in the history
  • Loading branch information
FrederikBolding committed Oct 19, 2023
1 parent 3cc9db3 commit 43488f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SIPS/sip-14.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
### Snap Manifest

This SIP adds a new field to the Snap manifest called `dynamicPermissions`.
This field can be used in tandem with the existing `initialPermissions`, but keep in mind that permissions in this field are not granted by installation: They MUST be requested when needed.
This field can be used in tandem with the existing `initialPermissions`, but keep in mind that permissions in this field are not granted by installation: They MUST be requested when needed. The field follows the same format as `initialPermissions`.

The new field can be specified as follows in a `snap.manifest.json` file:

Expand Down Expand Up @@ -57,6 +57,8 @@ In this initial version, duplicated permissions in `initialPermissions` and `dyn

Furthermore, permissions specified in `dynamicPermissions` MUST contain the caveats that will be requested at runtime and the permission request MUST fully match the caveats specified in the manifest.

This MAY change in a future SIP.

### RPC Methods

This SIP proposes the following RPC methods to manage the dynamic permissions:
Expand Down

0 comments on commit 43488f7

Please sign in to comment.