mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 19:28:16 +00:00
Minor adjustments
This commit is contained in:
@@ -55,6 +55,10 @@ export const auditLogServiceFactory = ({
|
|||||||
actorOrgId
|
actorOrgId
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* NOTE (dangtony98): Update this to organization-level audit log permission check once audit logs are moved
|
||||||
|
* to the organization level
|
||||||
|
*/
|
||||||
ForbiddenError.from(permission).throwUnlessCan(OrgPermissionActions.Read, OrgPermissionSubjects.Member);
|
ForbiddenError.from(permission).throwUnlessCan(OrgPermissionActions.Read, OrgPermissionSubjects.Member);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -244,7 +244,7 @@ export const UserPage = withPermission(
|
|||||||
<UserDetailsSection membershipId={membershipId} handlePopUpOpen={handlePopUpOpen} />
|
<UserDetailsSection membershipId={membershipId} handlePopUpOpen={handlePopUpOpen} />
|
||||||
</div>
|
</div>
|
||||||
<div className="w-full space-y-2">
|
<div className="w-full space-y-2">
|
||||||
<div className="w-full space-y-2">
|
<div className="w-full space-y-4">
|
||||||
<UserProjectsSection membershipId={membershipId} />
|
<UserProjectsSection membershipId={membershipId} />
|
||||||
<UserGroupsSection orgMembership={membership} />
|
<UserGroupsSection orgMembership={membership} />
|
||||||
<UserAuditLogsSection orgMembership={membership} />
|
<UserAuditLogsSection orgMembership={membership} />
|
||||||
|
|||||||
+2
-2
@@ -47,7 +47,7 @@ export const UserAuditLogsSection = withPermission(
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
) : !isLoading ? (
|
) : !isLoading ? (
|
||||||
<div className="w-full rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4 opacity-50">
|
<div className="w-full rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4">
|
||||||
<div className="mb-4 flex items-center justify-between border-b border-mineshaft-400 pb-4">
|
<div className="mb-4 flex items-center justify-between border-b border-mineshaft-400 pb-4">
|
||||||
<p className="text-lg font-semibold text-gray-200">Audit Logs</p>
|
<p className="text-lg font-semibold text-gray-200">Audit Logs</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -72,7 +72,7 @@ export const UserAuditLogsSection = withPermission(
|
|||||||
upgrade your subscription
|
upgrade your subscription
|
||||||
</a>
|
</a>
|
||||||
</Link>{" "}
|
</Link>{" "}
|
||||||
to view audit logs.
|
to view audit logs for this user
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user