Skip to content
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

Web: replace side docs with sliding side panel #52779

Open
wants to merge 1 commit into
base: lisa/doc-guide-panel
Choose a base branch
from

Conversation

kimlisa
Copy link
Contributor

@kimlisa kimlisa commented Mar 4, 2025

This PR just replaces visible side blocks that had docs, with a sliding side panel that is hidden by default. Users will have to click on the info icon to slide open the info panel

screenshots:

auth connector editor: image
auth connector: image
add bots image
bots list image
join tokens image
roles image
users image

@github-actions github-actions bot requested review from avatus and rudream March 4, 2025 23:29
@kimlisa kimlisa added no-changelog Indicates that a PR does not require a changelog entry and removed ui size/md labels Mar 4, 2025
Copy link
Contributor Author

@kimlisa kimlisa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i commented screenshots on the relevant docs

Comment on lines +210 to +230
<Box>
<InfoTitle>Auth Connectors</InfoTitle>
<InfoParagraph>
Auth connectors allow Teleport to authenticate users via an external
identity source such as Okta, Microsoft Entra ID, GitHub, etc. This
authentication method is commonly known as single sign-on (SSO).
</InfoParagraph>
<ReferenceLinks
links={[
isGitHub
? {
title: 'Configure GitHub connector',
href: 'https://goteleport.com/docs/admin-guides/access-controls/sso/github-sso/',
}
: {
title: 'Samples of different connectors',
href: 'https://goteleport.com/docs/admin-guides/access-controls/sso/',
},
]}
/>
</Box>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Comment on lines +490 to +526
<Box>
<InfoTitle>Join Tokens</InfoTitle>
<InfoParagraph>
<InfoExternalTextLink href={InfoGuideReferenceLinks.JoinTokens.href}>
Join Tokens
</InfoExternalTextLink>{' '}
are how a Teleport agent authenticates itself to the Teleport cluster.
</InfoParagraph>
<InfoParagraph>
There are Join Tokens for most types of infrastructure you can connect to
Teleport that establish an identity for that infrastructure using
metadata, such as AWS role, GitHub organization or TPM hash. These are
called{' '}
<InfoExternalTextLink
href={InfoGuideReferenceLinks.DelegatedJoinMethods.href}
>
delegated join methods
</InfoExternalTextLink>
. We recommend you use these methods whenever possible. When they are not
available, there are{' '}
<InfoExternalTextLink
href={InfoGuideReferenceLinks.SecretBasedJoinMethods.href}
>
secret-based join methods
</InfoExternalTextLink>{' '}
to fall back on.
</InfoParagraph>
<InfoParagraph>
Agents’ permission to provide different connection services are limited by
the system role of their join token. For example, if you want to provide
access to a HTTP application running on a server, but also want to provide
SSH access to that server, the join token it uses must have both the{' '}
<Mark>node</Mark>
and <Mark>app</Mark> permissions.
</InfoParagraph>
<ReferenceLinks links={Object.values(InfoGuideReferenceLinks)} />
</Box>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Comment on lines +329 to +350
<Box>
<InfoTitle>Role-based access control</InfoTitle>
<InfoParagraph>
Teleport Role-based access control (RBAC) provides fine-grained control
over who can access resources and in which contexts. A Teleport role can
be assigned automatically based on user identity when used with single
sign-on (SSO).
</InfoParagraph>
<InfoParagraph>
New clusters have several{' '}
<InfoExternalTextLink href={InfoGuideReferenceLinks.PresetRoles.href}>
preset roles
</InfoExternalTextLink>
. These are convenient for getting started but are very permissive, and
we recommend you follow our{' '}
<InfoExternalTextLink href={InfoGuideReferenceLinks.RoleTemplates.href}>
best practices guide
</InfoExternalTextLink>{' '}
to create your own.
</InfoParagraph>
<ReferenceLinks links={Object.values(InfoGuideReferenceLinks)} />
</Box>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Comment on lines +263 to +288
<Box>
<InfoTitle>Users</InfoTitle>
<InfoParagraph>
Teleport allows for two kinds of{' '}
<InfoExternalTextLink href={InfoGuideReferenceLinks.Users}>
users
</InfoExternalTextLink>
:
<InfoUl>
<li>
<b>Local</b> users are created and managed in Teleport and stored in
the Auth Service backend.
</li>
<li>
<b>Single Sign-On (SSO)</b> users are stored on the backend of your
SSO solution, e.g., Okta or GitHub. SSO can be set up with an{' '}
<InternalLink to={cfg.routes.sso}>Auth Connector</InternalLink>.
</li>
</InfoUl>
</InfoParagraph>
<InfoParagraph>
To take any action in Teleport, users must have at least one{' '}
<InternalLink to={cfg.routes.roles}>Role</InternalLink> assigned.
</InfoParagraph>
<ReferenceLinks links={Object.values(InfoGuideReferenceLinks)} />
</Box>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@kimlisa kimlisa requested a review from roraback March 4, 2025 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/branch/v17 no-changelog Indicates that a PR does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant