type
LocaleAvailabilityContext
type LocaleAvailabilityContext struct {
Context context.Context
Actor *store.Document
ActorCollection schema.CollectionSlug
Local *LocalAPI
}Request input for dynamic admin locale visibility.
Contextcontext.Context- Carries request cancellation and deadlines.
Actor*store.Document- The authenticated author, or nil.
ActorCollectionschema.CollectionSlug- Identifies the exact auth collection owning Actor.
Local*LocalAPI- Enters ordinary access-controlled content operations.
Use Actor and ActorCollection to make request-scoped presentation choices. Local enters the same access-controlled operation engine as other local API calls; the callback does not receive a privileged database handle.