pub fn is_resource_watched<T>(
resource: &T,
kanidm: &Kanidm,
namespace_store: &Store<Namespace>,
) -> boolwhere
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.