feat: updated ui based on feedback

This commit is contained in:
=
2025-04-21 20:02:23 +05:30
parent 2ee423174a
commit 40781949a6
8 changed files with 47 additions and 60 deletions
@@ -139,6 +139,7 @@ const Page = () => {
a={ProjectPermissionSub.Identity}
renderTooltip
allowedLabel="Assume or impersonate privileges of the user"
passThrough={false}
>
{(isAllowed) => (
<Button
@@ -147,7 +148,7 @@ const Page = () => {
isDisabled={!isAllowed}
onClick={() => handlePopUpOpen("assumePrivileges")}
>
Impersonate Identity
Test Privileges
</Button>
)}
</ProjectPermissionCan>
@@ -191,7 +192,7 @@ const Page = () => {
<ConfirmActionModal
isOpen={popUp.assumePrivileges.isOpen}
confirmKey="assume"
title="Do you want to impersonate privileges of this identity?"
title="Do you want to assume privileges of this identity?"
subTitle="This will set your privileges to those of the identity for the next hour."
onChange={(isOpen) => handlePopUpToggle("assumePrivileges", isOpen)}
onConfirmed={handleAssumePrivileges}