Skip to content

feat: show user-auth provisioners #14883

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cleanup
  • Loading branch information
f0ssel committed Sep 30, 2024
commit 46b3323117510e168979511dc1922f3e0fc034cf
3 changes: 1 addition & 2 deletions site/src/modules/provisioners/ProvisionerGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ export const ProvisionerGroup: FC<ProvisionerGroupProps> = ({
gap: 12,
justifyContent: "right",
}}
>
</div>
></div>
</header>

{showDetails && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,28 +110,16 @@ const ViewContent: FC<ViewContentProps> = ({ buildInfo, provisioners }) => {
</div>
)}
<Stack spacing={4.5}>
{provisioners.map((group) => {
const type = getGroupType(group.key);

// // We intentionally hide user-authenticated provisioners for now
// // because there are 1. some grouping issues on the backend and 2. we
// // should ideally group them by the user who authenticated them, and
// // not just lump them all together.
// if (type === "userAuth") {
// return null;
// }

return (
<ProvisionerGroup
key={group.key.id}
buildInfo={buildInfo}
keyName={group.key.name}
keyTags={group.key.tags}
type={type}
provisioners={group.daemons}
/>
);
})}
{provisioners.map((group) => (
<ProvisionerGroup
key={group.key.id}
buildInfo={buildInfo}
keyName={group.key.name}
keyTags={group.key.tags}
type={getGroupType(group.key)}
provisioners={group.daemons}
/>
))}
</Stack>
</>
);
Expand Down
Loading