Skip to content

feat(policies): Access Request Break-Glass Bypass#3643

Merged
x032205 merged 8 commits intomainfrom
ENG-2801
May 26, 2025
Merged

feat(policies): Access Request Break-Glass Bypass#3643
x032205 merged 8 commits intomainfrom
ENG-2801

Conversation

@x032205
Copy link
Copy Markdown
Member

@x032205 x032205 commented May 21, 2025

Description 📣

Just like Change Requests, Access Requests can now be bypassed in break-glass situations.

Docs changes + new permission added.

Type ✨

  • Bug fix
  • New feature
  • Improvement
  • Breaking change
  • Documentation

@maidul98
Copy link
Copy Markdown
Collaborator

maidul98 commented May 21, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This PR introduces break-glass bypass functionality for access approval requests, allowing authorized users to bypass normal approval processes in emergency situations.

  • Added new AllowAccessBypass permission to admin roles with proper enforcement level checks and bypass reason tracking
  • Implemented email notifications to approvers when requests are bypassed, using SecretApprovalRequestBypassedTemplate
  • Added UI components in ReviewAccessModal for bypass approval with minimum 10-character reason requirement
  • Security concern: Ensure bypass functionality is properly restricted through both soft enforcement policy settings and appropriate permissions
  • Documentation needs review: Missing requestType field in SecretApprovalRequestBypassedTemplate preview props could cause TypeScript errors

16 file(s) reviewed, 7 comment(s)
Edit PR Review Bot Settings | Greptile

@x032205 x032205 requested a review from akhilmhdh May 21, 2025 23:47
x032205 added 2 commits May 23, 2025 11:18
- Review envName from endpoint params and derive it
- Use variables in logic blocks
- New function on frontend + memoization
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.

3 participants