feat(admin): add system administration panel #39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/admin-panel-shell"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
users.server_admin) to see the version and health of the server and to configure it, separate from any organization.Changes
/adminwith a menu: Overview, Settings, Identity providers (moved under it), Live dashboard. The navigation link is now "System administration".COMMIT/BUILD_TIMEbuild args fromscripts/images.sh), Elixir/OTP, database backend, uptime; health of the database and each background service; email, GeoIP and provider status; node counts per organization (counts and organization names only, no tenant data); VM stats. Refreshes every 10 seconds.TRAEFIK_CONTROL_*configuration; secrets are never shown./dev/dashboardto/admin/dashboard(destructive actions off), behind the same guards.TraefikControl.Admin.authorize_change/1), re-checked on each event; otherwise the pages are read-only with a link to fix it. Viewing the identity provider page no longer needs a recent login.users_tokens.authenticated_via,identity_provider_id; reversible migration, no foreign key because SQLite cannot drop one portably). A password sign-in never counts as a provider sign-in, and turning a provider off ends the bypass at once.prompt=loginandmax_age=0to the provider and refuses anauth_timeolder than the request.Verification
mix precommit: exit 0 (format, compile with warnings as errors, test).mix credo --strict: no issues.mix dialyzer: passed.mix test: 1582 passed on SQLite and on PostgreSQL; migration rollback and re-apply clean on both./admin/dashboardloads in production and/dev/dashboardis 404.prompt=loginre-authentication are covered by tests against the in-repo fake provider only.Notes