Dashboards 0.8.0: A separate permission for shared dashboards and PhoenixKit 3
Dashboards 0.8.0 separates looking at shared dashboards from changing them, with a new permission, and makes the module work with PhoenixKit 3. Core’s doctor and repair tasks can check the module’s table again.
Who may change shared dashboards
The Dashboards permission gets a sub-permission, Manage shared dashboards and places: “Create, edit and delete dashboards everyone sees, and choose which dashboard each place shows”. The base Dashboards permission now lets a user build and keep their own personal dashboards and open the shared ones. Creating, editing and deleting shared and role dashboards, and the Places screen, need the new permission. An Owner always has it.
Without it, a shared dashboard opens in the builder as a read-only board, without the Widget catalog or editing controls, and an attempted change answers “You don’t have permission to change this dashboard.” The settings form offers only Personal visibility, and the Places screen sends the user back with “You don’t have permission to change places.”
So that nobody loses access on update, every role that holds the Dashboards permission is granted the new one once, at the next start of the app. A role given Dashboards after that gets only the narrower meaning, and taking the new permission away from a role sticks.
PhoenixKit 3 and table checks
The module now accepts PhoenixKit 2.65 or later, up to and including the 3.x series. PhoenixKit 3 no longer creates module tables, and this module’s own migrations create its table. The module also tells core what its table should look like, so mix phoenix_kit.doctor checks it and mix phoenix_kit.repair creates whatever is missing. Repair only adds and reports, and only while the module’s migrations are at their current version.
Upgrading
Dashboards 0.8 needs PhoenixKit 2.65 or later. No migration. After the update, check the roles on the permissions page: every role that had Dashboards now also has Manage shared dashboards and places. Take it away from roles that should only view shared dashboards.
Full release notes: Dashboards 0.8.0
0.8.0 · 27 October 2026
Changed
- Core pin widened to
>= 2.65.0 and < 4.0.0: works with core 3.x (core 3.0 stops creating the module tables; this module’s own chain builds its tables). The floor is the first core with thefile_references/0andexpected_schema/0callbacks, which now carry@impl PhoenixKit.Module.
Added
- The module supplies the manifest of its 1 tables (
expected_schema/0,PhoenixKitDashboards.ExpectedSchema), somix phoenix_kit.repairandmix phoenix_kit.doctorcheck and repair them again, now from the module’s own chain instead of core’s manifest. Generated fromPhoenixKitDashboards.Migrationsby core’sdev_docs/squash/generate_module_manifest.exs, never edited by hand. Core uses it from the first release after 2.64.1; before that nothing reads it. Repair is additive (it creates what is missing and reports the rest) and checks the tables only while the database is at the chain’s current version. No migration.
Dashboards 0.8.0. Install or update: {:phoenix_kit_dashboards, "~> 0.8"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.