yasuki_web.auth.require_admin#

async require_admin(user=Depends(dependency=<function current_user>, use_cache=True, scope=None))[source]#

The authenticated user if an admin, else 403 — the gate for the admin dashboard.