pub struct AllowAllTerminalAuthz;Expand description
Permissive TerminalAuthz for a Public (plaintext) operational plane.
Counterpart to DenyAllTerminalAuthz for resources whose terminal value
rides a plaintext EventService source — e.g. the model-lifecycle plane
(model.lifecycle.{loaded,failed}), which EV5/#605 deliberately kept
plaintext (the encrypted-default flip is deferred to #555). On such a plane
a late read of the retained terminal releases no plaintext the live edge
would not, so permitting the read_then_subscribe fast path is consistent
with the plane’s current posture.
This is NOT the right authz for a labelled/encrypted plane — there the late
read must enforce MAC (subject.ctx ⊒ object.label); that impl lands under
EV4 (#604). Use DenyAllTerminalAuthz (the default) until the plane has
labels and a real MAC-backed impl exists.
Trait Implementations§
Source§impl<K: ResourceKey> TerminalAuthz<K> for AllowAllTerminalAuthz
impl<K: ResourceKey> TerminalAuthz<K> for AllowAllTerminalAuthz
watcher reading the retained terminal for key.Auto Trait Implementations§
impl Freeze for AllowAllTerminalAuthz
impl RefUnwindSafe for AllowAllTerminalAuthz
impl Send for AllowAllTerminalAuthz
impl Sync for AllowAllTerminalAuthz
impl Unpin for AllowAllTerminalAuthz
impl UnsafeUnpin for AllowAllTerminalAuthz
impl UnwindSafe for AllowAllTerminalAuthz
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more