Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
show user count on table row
x032205e02c588ce12f
diff --git a/frontend/src/pages/organization/SettingsPage/components/ProjectTemplatesTab/components/ProjectTemplatesTable.tsx b/frontend/src/pages/organization/SettingsPage/components/ProjectTemplatesTab/components/ProjectTemplatesTable.tsxindex 60cfac6781..96152d8081 100644--- a/frontend/src/pages/organization/SettingsPage/components/ProjectTemplatesTab/components/ProjectTemplatesTable.tsx+++ b/frontend/src/pages/organization/SettingsPage/components/ProjectTemplatesTab/components/ProjectTemplatesTable.tsx@@ -69,6 +69,7 @@ export const ProjectTemplatesTable = ({ onEdit }: Props) => {<Th>Name</Th><Th>Type</Th><Th>Roles</Th>+ <Th>Users</Th><Th /></Tr></THead>@@ -81,7 +82,7 @@ export const ProjectTemplatesTable = ({ onEdit }: Props) => {/>)}{filteredTemplates.map((template) => {- const { id, name, roles, description, type } = template;+ const { id, name, roles, description, type, users } = template;return (<TronClick={() => onEdit(template)}@@ -121,6 +122,26 @@ export const ProjectTemplatesTable = ({ onEdit }: Props) => {</Tooltip>)}</Td>+ <Td className="pl-8">+ {users?.length || 0}+ {users?.length && (+ <Tooltip+ content={+ <ul className="ml-2 list-disc">+ {users.map((user) => (+ <li key={user.username}>{user.username}</li>+ ))}+ </ul>+ }+ >+ <FontAwesomeIcon+ size="sm"+ className="ml-2 text-mineshaft-400"+ icon={faCircleInfo}+ />+ </Tooltip>+ )}+ </Td><Td className="w-5">{name !== "default" && (<OrgPermissionCan