mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 12:25:05 +03:00
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? - Better role selector thats actually more helpful with descriptions - More tests with MSW - Refactored to a side panel due to more information being presented in the modal ## How to test - Try inviting members to an org - Make sure members can still be revoked! <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Team member invitation interface redesigned from modal dialog to side panel. * Role selection now displays as an interactive radio list with descriptions for each role. * Improved form layout with horizontal organization for better usability. * **Tests** * Added integration and unit tests for team member invitation functionality. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
10 lines
575 B
TypeScript
10 lines
575 B
TypeScript
export const ROLE_DESCRIPTIONS: Record<string, string> = {
|
|
Owner: 'Full access, including deleting the organization and transferring or deleting projects.',
|
|
Administrator:
|
|
'Manage members, billing, and project settings, including deleting projects. Cannot manage organization settings or owners.',
|
|
Developer:
|
|
'Manage project content, including deleting data, users, files, and Edge Functions. Cannot change settings or delete projects.',
|
|
'Read-only':
|
|
'View resources without modifying or deleting them. SQL Editor access is limited to SELECT queries.',
|
|
}
|