pub struct DefaultAccessControl<'a> { /* private fields */ }Expand description
Default server access control.
This uses UA_AccessControl_default() which comes with the following warning:
Example access control management. Anonymous and username/password login. The access rights are maximally permissive.
FOR PRODUCTION USE, THIS EXAMPLE PLUGIN SHOULD BE REPLACED WITH LESS PERMISSIVE ACCESS CONTROL.
For
TransferSubscriptions, we check whether the transfer happens between Sessions for the same user.
Implementations§
Trait Implementations§
Source§impl AccessControl for DefaultAccessControl<'_>
impl AccessControl for DefaultAccessControl<'_>
Auto Trait Implementations§
impl<'a> Freeze for DefaultAccessControl<'a>
impl<'a> RefUnwindSafe for DefaultAccessControl<'a>
impl<'a> Send for DefaultAccessControl<'a>
impl<'a> Sync for DefaultAccessControl<'a>
impl<'a> Unpin for DefaultAccessControl<'a>
impl<'a> UnwindSafe for DefaultAccessControl<'a>
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