Skip to content

feat(rbac): add workspace permission preview sandbox (#1350) - #1596

Merged
github-actions[bot] merged 1 commit into
Smartdevs17:mainfrom
JohnMabas:issue-1350-rbac-sandbox
Nov 23, 2026
Merged

github-actions[bot] merged 1 commit into
Smartdevs17:mainfrom
JohnMabas:issue-1350-rbac-sandbox

Conversation

@JohnMabas

Copy link
Copy Markdown
Contributor

What this PR does

  • Adds a non-mutating RBAC policy sandbox for previewing workspace permission changes.
  • No breaking changes and no data migrations.

Changes

  • backend/src/services/rbacSandbox.ts: role-change previews, custom-policy layering, action simulation, role diffs and migration blast-radius estimates.
  • Structured [rbac-sandbox] logging with grant/revoke counts.
  • Unit tests plus backend/docs/RBAC_SANDBOX.md.

Why

  • Admins can simulate grants/revokes before applying them, covering the happy path and failure modes without touching live membership.

How to test

  • npx vitest run backend/src/services/__tests__/rbacSandbox.test.ts (5 tests pass locally).

Notes

@vercel

vercel Bot commented Nov 23, 2026

Copy link
Copy Markdown

@JohnMabas is attempting to deploy a commit to the smartdevs17's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Nov 23, 2026

Copy link
Copy Markdown

@JohnMabas Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@github-actions
github-actions Bot merged commit 612d99c into Smartdevs17:main Nov 23, 2026
2 of 3 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.

Build RBAC policy sandbox for workspace permission previews

1 participant