The storage plugin gains pick_image — the document picker limited to images, the picked content copied into the app's cache so the Rust side gets a plain path. playlist_cover_set(id, path) is the desktop pick's install step split out and shared (squared, the master cover, the row's revision moved). A playlist's sheet offers Choose cover photo and Remove custom cover; the mock walk exercises both.
127 lines
1.6 KiB
Markdown
127 lines
1.6 KiB
Markdown
## Default Permission
|
|
|
|
The phone's storage: pick a library folder (a Storage Access Framework tree,
|
|
resolved to a path when the volume allows), and Android's all-files access —
|
|
whether it is granted, and the system screen that grants it.
|
|
|
|
#### This default permission set includes the following:
|
|
|
|
- `allow-pick-folder`
|
|
- `allow-all-files-access`
|
|
- `allow-request-all-files-access`
|
|
- `allow-pick-image`
|
|
|
|
## Permission Table
|
|
|
|
<table>
|
|
<tr>
|
|
<th>Identifier</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`storage:allow-all-files-access`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the all_files_access command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`storage:deny-all-files-access`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the all_files_access command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`storage:allow-pick-folder`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the pick_folder command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`storage:deny-pick-folder`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the pick_folder command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`storage:allow-pick-image`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the pick_image command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`storage:deny-pick-image`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the pick_image command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`storage:allow-request-all-files-access`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Enables the request_all_files_access command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
|
|
`storage:deny-request-all-files-access`
|
|
|
|
</td>
|
|
<td>
|
|
|
|
Denies the request_all_files_access command without any pre-configured scope.
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|