is_resource_watched

Function is_resource_watched 

Source
pub fn is_resource_watched<T>(
    resource: &T,
    kanidm: &Kanidm,
    namespace_store: &Store<Namespace>,
) -> bool
where T: KanidmResource,
Expand description

Generic function to check if a resource is watched based on namespace selectors

This function implements the common logic for checking whether a resource should be reconciled based on the namespace selector configuration in the referenced Kanidm resource.