Skip to main content

GroupResolver

Type Alias GroupResolver 

Source
pub type GroupResolver = Arc<dyn Fn(&str, &str) -> bool + Send + Sync + 'static>;
Expand description

A hook that checks whether actor_id belongs to group.

Register a resolver with FeatureFlagService::with_group_resolver to enable the named-group evaluation gate.

Aliased Typeยง

pub struct GroupResolver { /* private fields */ }