Type Alias AllowlistEntryMoniker
pub type AllowlistEntryMoniker = String;
Expand description
A single entry in an allowlist, expressed in one of three forms:
- Exact moniker - Most entries should fall under this case, where the exact monikers of allowed components are listed. For example, “/foo/bar”.
- Realm - Realms can be allowlisted such that any descendant will be allowed without being listed explicitly. For example, “/foo/**” allows any descendant of “/foo” (but not foo itself).
- Collection - Individual collections can also be allowlisted. For example, “/foo/bar:**” will allow any child in foo’s “bar” collection and any descendant thereof, but not foo or other children of foo.
Aliased Type§
struct AllowlistEntryMoniker { /* private fields */ }