-
Notifications
You must be signed in to change notification settings - Fork 3.2k
improvement(permissions): added ability to auto-add new org members to existing permission group, disallow disabling of start block #2836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…o existing permission group, disallow disabling of start block
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile SummaryThis PR implements two permission-related features:
Key implementation details:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User as New Member
participant API as Invitation API
participant DB as Database
participant PG as Permission Group
User->>API: Accept invitation (PUT)
API->>DB: Update invitation status
API->>DB: Create member record
API->>DB: Check hasAccessControlAccess
alt Has Access Control
API->>DB: Query permission group with autoAddNewMembers=true
alt Auto-add group exists
API->>PG: Insert permission group member
API-->>User: Member auto-assigned to group
end
end
API-->>User: Invitation accepted
|
Summary
Type of Change
Testing
Tested manually
Checklist