pub enum PathAccessDecision {
Allow,
RequireReview,
Deny,
}Expand description
Three-state decision produced by WorkspaceAccessPolicy.
Variants§
Allow
Path is authorized by workspace, static rules, session grants, or once grants.
RequireReview
Path is outside current grants and requires permission admission review.
Deny
Path is blocked by a hard policy ceiling (Deny, trusted global
ReadOnly write ceiling, read-only workspace, or descendant coverage
of a protected path) and cannot be escalated by runtime approval.
Trait Implementations§
Source§impl Clone for PathAccessDecision
impl Clone for PathAccessDecision
impl Copy for PathAccessDecision
Source§impl Debug for PathAccessDecision
impl Debug for PathAccessDecision
impl Eq for PathAccessDecision
Source§impl PartialEq for PathAccessDecision
impl PartialEq for PathAccessDecision
impl StructuralPartialEq for PathAccessDecision
Auto Trait Implementations§
impl Forget for PathAccessDecision
impl Freeze for PathAccessDecision
impl Move for PathAccessDecision
impl RefUnwindSafe for PathAccessDecision
impl Send for PathAccessDecision
impl Sync for PathAccessDecision
impl Unpin for PathAccessDecision
impl UnsafeUnpin for PathAccessDecision
impl UnwindSafe for PathAccessDecision
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.