Skip to content

Commit

Permalink
Rename Edit Permission to Contributor
Browse files Browse the repository at this point in the history
  • Loading branch information
ashley-o0o committed Jun 24, 2024
1 parent bf970b2 commit f15dc56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/projects/projectSharing/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ export const firstSubject = (roleBinding: RoleBindingKind): string =>
roleBinding.subjects[0]?.name || '';

export const roleLabel = (value: ProjectSharingRoleType): string =>
value === ProjectSharingRoleType.ADMIN ? 'Admin' : 'Edit';
value === ProjectSharingRoleType.ADMIN ? 'Admin' : 'Contributor';

0 comments on commit f15dc56

Please sign in to comment.