Feat: split the forecast permission into summary, overview and settings - #205
Merged
paragmore merged 1 commit intoAug 28, 2026
Merged
Conversation
mukama
marked this pull request as draft
August 27, 2026 17:26
mukama
force-pushed
the
feat/split-forecast-permissions
branch
from
August 27, 2026 17:32
7d4a1f8 to
d4ae96a
Compare
mukama
marked this pull request as ready for review
August 27, 2026 17:56
tekwani
reviewed
Aug 27, 2026
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
force-pushed
the
feat/split-forecast-permissions
branch
from
August 27, 2026 18:35
d4ae96a to
ff46feb
Compare
tekwani
approved these changes
Aug 27, 2026
paragmore
approved these changes
Aug 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Splits
forecastintoforecast_summary,forecast_overviewandforecast_settingsso site operators can see the dashboard forecast without the Overview or Settings pages.Deploy note:
config/facs/auth.config.jsonmust be updated on each host and the worker restarted — the oldforecast:rwgrant matches none of the new caps. Ships together with the moria-app-ui change, which currently resolvespower_spot_forecast(aliasforecast) and needs to read the three new caps.https://app.asana.com/1/45238840754660/project/1217036391843896/task/1217829670212658