* Add auto save to store plugin * Put jsdoc at constructor instead of class level * Clippy * Use enum instead of bool * Some(AutoSaveMessage::Cancel) | None * from_millis * u64 * Add change file * Rename to emit_on_change * should use Duration in `with_store` * Add breaking change notice to change file * Emit change event for inserts by reset * Update readme example * Update example * Remove extra line * Make description clear it only works with managed * Fix links in docstring * Fix doc string closing * get_mut * Proof of concept * fmt * Load store on create * cargo fmt * Fix merge conflits * Format * small cleanup * update docs, use `impl Into<JsonValue>` * fix doctests, further simplification of api * add store options --------- Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com> Co-authored-by: Lucas Nogueira <lucas@tauri.app>
3.5 KiB
Default Permission
This permission set configures what kind of operations are available from the store plugin.
Granted Permissions
All operations are enabled by default.
allow-create-storeallow-clearallow-deleteallow-entriesallow-getallow-hasallow-keysallow-lengthallow-loadallow-resetallow-saveallow-setallow-values
Permission Table
| Identifier | Description |
|---|---|
|
|
Enables the clear command without any pre-configured scope. |
|
|
Denies the clear command without any pre-configured scope. |
|
|
Enables the create_store command without any pre-configured scope. |
|
|
Denies the create_store command without any pre-configured scope. |
|
|
Enables the delete command without any pre-configured scope. |
|
|
Denies the delete command without any pre-configured scope. |
|
|
Enables the entries command without any pre-configured scope. |
|
|
Denies the entries command without any pre-configured scope. |
|
|
Enables the get command without any pre-configured scope. |
|
|
Denies the get command without any pre-configured scope. |
|
|
Enables the has command without any pre-configured scope. |
|
|
Denies the has command without any pre-configured scope. |
|
|
Enables the keys command without any pre-configured scope. |
|
|
Denies the keys command without any pre-configured scope. |
|
|
Enables the length command without any pre-configured scope. |
|
|
Denies the length command without any pre-configured scope. |
|
|
Enables the load command without any pre-configured scope. |
|
|
Denies the load command without any pre-configured scope. |
|
|
Enables the reset command without any pre-configured scope. |
|
|
Denies the reset command without any pre-configured scope. |
|
|
Enables the save command without any pre-configured scope. |
|
|
Denies the save command without any pre-configured scope. |
|
|
Enables the set command without any pre-configured scope. |
|
|
Denies the set command without any pre-configured scope. |
|
|
Enables the values command without any pre-configured scope. |
|
|
Denies the values command without any pre-configured scope. |