Admin configuration

Wire .with_admin(admin::config) — no generation step.

● ● ●
// main.rs — plain Rust, no generated admins module
RuniqueApp::builder(config)
    .with_public_url("https://mysite.com")   // reset links sent from the admin
    .with_admin(admin::config)               // src/admin.rs ModelAdmin builder
    // or inline:
    // .with_admin(|a| {
    //     a.site_title("My Administration")
    //      .path("/admin/")
    //      .templates(|t| t.with_dashboard("admin/my_dashboard.html"))
    //      .site(|s| s.register(ModelAdmin::<article::Entity>::new()))
    // })
// The admin signs in eihwaz_users accounts — there is no separate
// admin user model and nothing to implement.
//
// Sign-in: password checked first (same timing for any username),
// then the account must be active, with a rank (admin, dirigeant,
// superuser) or a staff group.
let user = authenticate_admin(&db, &username, &password).await; // Option<Model>

// What an account may do on each resource comes from its rank — a
// delegated admin through its own rights, a staff member through its
// groups — read from the database on every request: removing a right
// takes effect immediately.
// A superuser passes every check.
// For each model registered with ModelAdmin:
GET    /admin/                         -> dashboard
GET    /admin/article/list             -> list
GET    /admin/article/create           -> create form
POST   /admin/article/create           -> create handler
GET    /admin/article/{id}/detail      -> detail
GET    /admin/article/{id}/edit        -> edit form
POST   /admin/article/{id}/edit        -> edit handler
GET    /admin/article/{id}/delete      -> delete confirmation
POST   /admin/article/{id}/delete      -> delete
POST   /admin/article/bulk             -> group actions

// Every write goes through the same gate: right on the resource,
// rows the account may touch, fields of the form only.