Expand description
Access Control List types.
§Stability
This is a core functionality that is not considered part of the stable API. If you use it, note that it may include breaking changes in the future.
These items are intended to be non-breaking from a de/serialization standpoint only. Using and modifying existing config values will try to avoid breaking changes, but they are free to add fields in the future - causing breaking changes for creating and full destructuring.
To avoid this, ignore unknown fields when destructuring with the {my, config, ..}
pattern.
If you need to create the Rust config directly without deserializing, then create the struct
the Struct Update Syntax with ..Default::default()
, which may need a
#[allow(clippy::needless_update)]
attribute if you are declaring all fields.
Re-exports§
pub use self::identifier::*;
pub use self::value::*;
Modules§
- End-user abstraction for selecting permissions a window has access to.
- Identifier for plugins.
- Plugin ACL types.
- Resolved ACL for runtime usage.
Structs§
- Allowed and denied commands inside a permission.
- Descriptions of explicit privileges of commands.
- A set of direct permissions grouped together under a new name.
- UrlPattern for
ExecutionContext::Remote
. - An argument for fine grained behavior control of Tauri commands.
Enums§
- Possible errors while processing ACL files.
- Execution context of an IPC call.
Constants§
- Known acl manifests file
- Known ACL key for the app permissions.
- Known capabilityies file
- Known foldername of the permission schema files
- Known filename of the permission schema JSON file