Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion crates/tauri-utils/src/acl/identifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ const MAX_LEN_PREFIX: usize = 64 - PLUGIN_PREFIX.len();
const MAX_LEN_BASE: usize = 64;
const MAX_LEN_IDENTIFIER: usize = MAX_LEN_PREFIX + 1 + MAX_LEN_BASE;

/// Plugin identifier.
/// Permission identifier.
///
/// Typically used in the [`permissions`](crate::acl::Capability::permissions) field of a capability file.
/// (e.g. `core:default`, `sample:allow-ping-scoped`)
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Identifier {
inner: String,
Expand Down
Loading