Skip to content

Add branch preview environment permissions - #755

Open
alexandergraco2-sys wants to merge 2 commits into
Pulsefy:mainfrom
alexandergraco2-sys:feat/be-branch-env-permissions
Open

Add branch preview environment permissions#755
alexandergraco2-sys wants to merge 2 commits into
Pulsefy:mainfrom
alexandergraco2-sys:feat/be-branch-env-permissions

Conversation

@alexandergraco2-sys

Copy link
Copy Markdown

Summary
Add branch-based environment permission controls for contributor-managed preview/testnet environments.

What changed
Introduced role-aware permissions for branch preview environment operations:
owner
reviewer
admin
Enforced permission checks for preview environment create/update/delete/cache/cleanup actions.
Added audit logging for:
permission grants and denials
destructive actions such as deletion, cache clearing, and cleanup
Added unit tests covering unauthorized branch/environment operations and destructive action auditing.

closes #560

@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@alexandergraco2-sys 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

@alexandergraco2-sys

Copy link
Copy Markdown
Author

@Cedarich
Please megre

@Cedarich

Cedarich commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

@alexandergraco2-sys

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.

BE-76: Contributor Branch Environment Permissions

3 participants