pub struct LinkAuthConfig {
pub list: String,
pub get: String,
pub create: String,
pub update: String,
pub delete: String,
}Expand description
Authorization configuration for link operations
This allows fine-grained control over who can perform operations on specific link types, independent of entity-level permissions.
Fields§
§list: StringPolicy for listing links (GET /{source}/{id}/{route_name})
get: StringPolicy for getting a specific link by ID
create: StringPolicy for creating a link
update: StringPolicy for updating a link
delete: StringPolicy for deleting a link
Trait Implementations§
Source§impl Clone for LinkAuthConfig
impl Clone for LinkAuthConfig
Source§fn clone(&self) -> LinkAuthConfig
fn clone(&self) -> LinkAuthConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LinkAuthConfig
impl Debug for LinkAuthConfig
Source§impl Default for LinkAuthConfig
impl Default for LinkAuthConfig
Source§impl<'de> Deserialize<'de> for LinkAuthConfig
impl<'de> Deserialize<'de> for LinkAuthConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LinkAuthConfig
impl RefUnwindSafe for LinkAuthConfig
impl Send for LinkAuthConfig
impl Sync for LinkAuthConfig
impl Unpin for LinkAuthConfig
impl UnwindSafe for LinkAuthConfig
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