feat(maas-consumer-portal): tailor navigation, remove MCP servers tab and provide governance access #9746
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 447 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.365
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #9746"
general
weight: 0.35
paulovmr
https://redhat.atlassian.net/browse/RHOAIENG-94528
https://redhat.atlassian.net/browse/RHOAIENG-94529
https://redhat.atlassian.net/browse/RHOAIENG-94530
Description
Tailors the MaaS Consumer Portal presentation and governance access without changing the main Dashboard or MaaS/GenAI backend capabilities.
mcpserverstab in the portal.MaaSAuthzProvider, which calls the MaaS authorization endpoint and publishes its fail-closed result as the portal's dynamicADMIN_USERflag. The existing MaaS governance navigation item and route remain gated by that flag, while backend authorization remains enforced by the MaaS BFF.How Has This Been Tested?
From
distributions/maas-consumer-portal:The unit suite covers the portal extension catalog, root redirect, and MaaS authorization provider. For a real-cluster check, run the portal against the MaaS BFF as a MaaS-governance authorized user and as a user without that permission; restart the local portal server between users so its proxy picks up the active
octoken.<img width="1371" height="694" alt="Screenshot 2026-09-11 at 14 18 16" src="https://github.com/user-attachments/assets/a08f753e-deb7-463f-ae3c-1b20e6bd7455" />
Test Impact
ADMIN_USER, plus governance navigation and route visibility coverage.Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
- Added administrator-aware access to MaaS governance navigation and routes.
- Added conditional governance visibility based on the current user’s authorization.
- Added Gen AI asset tabs for models, MCP servers, vector stores, and agent profiles.
- The portal root now opens the Gen AI Studio assets page.
- Reorganized navigation groups and labels for assets, API keys, playground, and governance.
- Hid the MCP servers asset tab from the portal.
- Added coverage for administrator access, authorization failures, asset visibility, navigation, and redirects.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->