Policies refactor, guest roles (#6732)
This commit is contained in:
@@ -62,6 +62,8 @@ function PeopleTable({ canManage, ...rest }: Props) {
|
||||
<Badge primary>{t("Admin")}</Badge>
|
||||
) : row.original.isViewer ? (
|
||||
<Badge>{t("Viewer")}</Badge>
|
||||
) : row.original.isGuest ? (
|
||||
<Badge yellow>{t("Guest")}</Badge>
|
||||
) : (
|
||||
<Badge>{t("Editor")}</Badge>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user