mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-12 10:29:06 +00:00
Add admin to display identity table
This commit is contained in:
+1
@@ -18,6 +18,7 @@ type Props = {
|
||||
|
||||
const formatRoleName = (role: string, customRoleName?: string) => {
|
||||
if (role === ProjectMembershipRole.Custom) return customRoleName;
|
||||
if (role === ProjectMembershipRole.Admin) return "Admin";
|
||||
if (role === ProjectMembershipRole.Member) return "Developer";
|
||||
if (role === ProjectMembershipRole.Viewer) return "Viewer";
|
||||
if (role === ProjectMembershipRole.NoAccess) return "No access";
|
||||
|
||||
Reference in New Issue
Block a user