Skip to content

feat(sidenav): gate Memory Spaces + Agents to system-admin, add Preview badges#600

Merged
philmerrell merged 1 commit into
developfrom
claude/preview-nav-admin-gate
Jul 8, 2026
Merged

feat(sidenav): gate Memory Spaces + Agents to system-admin, add Preview badges#600
philmerrell merged 1 commit into
developfrom
claude/preview-nav-admin-gate

Conversation

@philmerrell

Copy link
Copy Markdown
Contributor

Summary

Brings the two other preview surfaces in line with Scheduled Runs:

  • Memory Spaces and Agents nav entries now also require the system_admin AppRole (showX() && isAdmin()), in addition to their existing accessibility probe — same gate Scheduled Runs already uses.
  • Adds a small amber Preview badge to all three entries (Agents, Memory Spaces, Scheduled Runs) so their preview status is visible at a glance.

Notes

  • Nav-visibility only — this hides the entries for non-admins; the routes and per-primitive RBAC are unchanged (matches the Scheduled Runs approach, where the nav gate and the capability gate are independent).
  • Template-only change in sidenav.html. The showAgents / showMemorySpaces / showSchedules computed signals are untouched, so the existing sidenav specs remain valid (14 pass).

Testing

  • npm run build clean; ng test sidenav spec passes (14).

Base is develop.

🤖 Generated with Claude Code

…ew badges

Match the Scheduled Runs treatment for the two other preview surfaces:
Memory Spaces and Agents now also require the system_admin AppRole
(showX() && isAdmin()) in addition to their accessibility probe. Adds a
small amber 'Preview' badge to all three nav entries (Agents, Memory
Spaces, Scheduled Runs) so their preview status is visible.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@philmerrell philmerrell merged commit eb2bae8 into develop Jul 8, 2026
4 checks passed
@philmerrell philmerrell deleted the claude/preview-nav-admin-gate branch July 8, 2026 05:54
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