Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

misc: add copy group ID to clipboard

Sheen Capadngan8d71b295eabf
diff --git a/frontend/src/views/Org/MembersPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsTable.tsx b/frontend/src/views/Org/MembersPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsTable.tsx
index 0ed41ba6e0..e7d53d1ca2 100644
--- a/frontend/src/views/Org/MembersPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsTable.tsx
+++ b/frontend/src/views/Org/MembersPage/components/OrgGroupsTab/components/OrgGroupsSection/OrgGroupsTable.tsx
@@ -135,6 +135,18 @@ export const OrgGroupsTable = ({ handlePopUpOpen }: Props) => {
</div>
</DropdownMenuTrigger>
<DropdownMenuContent align="start" className="p-1">
+ <DropdownMenuItem
+ onClick={(e) => {
+ e.stopPropagation();
+ createNotification({
+ text: "Copied group ID to clipboard",
+ type: "info"
+ });
+ navigator.clipboard.writeText(id);
+ }}
+ >
+ Copy Group ID
+ </DropdownMenuItem>
<OrgPermissionCan
I={OrgPermissionActions.Edit}
a={OrgPermissionSubjects.Identity}