Skip to content

Feat: split the forecast permission into summary, overview and settings - #205

Merged
paragmore merged 1 commit into
tetherto:developfrom
mukama:feat/split-forecast-permissions
Aug 28, 2026
Merged

Feat: split the forecast permission into summary, overview and settings#205
paragmore merged 1 commit into
tetherto:developfrom
mukama:feat/split-forecast-permissions

Conversation

@mukama

@mukama mukama commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Splits forecast into forecast_summary, forecast_overview and forecast_settings so site operators can see the dashboard forecast without the Overview or Settings pages.

Deploy note: config/facs/auth.config.json must be updated on each host and the worker restarted — the old forecast:rw grant matches none of the new caps. Ships together with the moria-app-ui change, which currently resolves power_spot_forecast (alias forecast) and needs to read the three new caps.

https://app.asana.com/1/45238840754660/project/1217036391843896/task/1217829670212658

@mukama
mukama marked this pull request as draft August 27, 2026 17:26
@mukama
mukama force-pushed the feat/split-forecast-permissions branch from 7d4a1f8 to d4ae96a Compare August 27, 2026 17:32
@mukama
mukama marked this pull request as ready for review August 27, 2026 17:56
Comment thread config/facs/auth.config.json.example Outdated
Site operators need the forecast component on the main dashboard without
access to the Forecast Overview or Settings pages, which a single forecast
cap cannot express. The three caps also replace miner:w on the forecast
settings and override writes, and gate the forecast GETs that ran no
capability check at all.

Deploying this needs config/facs/auth.config.json updated on each host and
the worker restarted: the old forecast:rw grant matches none of the new
caps, so forecast access is denied until the role arrays are migrated.
@mukama
mukama force-pushed the feat/split-forecast-permissions branch from d4ae96a to ff46feb Compare August 27, 2026 18:35
@paragmore
paragmore merged commit c9940e6 into tetherto:develop Aug 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants