pub fn router(
auth: AuthService,
db: Db,
app_resources: Vec<Resource>,
app_settings: Vec<SettingsItem>,
app_permissions: Vec<Permission>,
config: AdminConfig,
) -> RouterExpand description
Builds the admin router. app_resources are the application’s own list/form
screens; app_settings are its settings models; app_permissions are the
permissions it defines, offered in the role editor alongside the framework’s.
All are mounted alongside the framework’s built-in equivalents.