Skip to content

fix(dashboard): re-check staff flag to fix missing service cards#9458

Merged
h0lybyte merged 1 commit intodevfrom
trunk/fix-dashboard-cards-1775066893
Apr 1, 2026
Merged

fix(dashboard): re-check staff flag to fix missing service cards#9458
h0lybyte merged 1 commit intodevfrom
trunk/fix-dashboard-cards-1775066893

Conversation

@h0lybyte
Copy link
Copy Markdown
Member

@h0lybyte h0lybyte commented Apr 1, 2026

Staff cards (Grafana, ArgoCD, ClickHouse, ROWS) disappeared because staff_permissions RPC resolves after initial auth. Now re-checks the auth store directly in fetchAll().

The staff_permissions RPC resolves after the initial auth session.
fetchAll() ran with isStaff=false on first call, marking staff
cards (Grafana, ArgoCD, ClickHouse, ROWS) as 'unavailable'.

Fix: re-check $auth flags directly in fetchAll() before deciding
which services to load. If staff resolved late, update isStaff
and fetch staff-only services.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 1, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 8c622b4.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@h0lybyte h0lybyte merged commit c490460 into dev Apr 1, 2026
1 check passed
@h0lybyte h0lybyte deleted the trunk/fix-dashboard-cards-1775066893 branch April 1, 2026 18:25
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.

1 participant