type

AdminConfig

type AdminConfig struct { // User is the slug of the auth-enabled collection whose sessions may access // the admin. It is required when the application has any auth collection. User schema.CollectionSlug // Localization configures the language and timezone choices for the // framework-owned interface. It is independent from content localization. Localization AdminLocalizationConfig }

Application-level configuration for the framework-owned admin.

Source core/config.go:91

Userschema.CollectionSlug
The auth-enabled collection whose sessions may enter the admin; required when any auth collection exists.
LocalizationAdminLocalizationConfig
Configures interface languages and editor timezones independently from content localization.

This setting selects the admin identity source; collection access still provides the authorization decision.

Example

go
AdminConfig{User: "users"}