docs: add organizations, provisioners, and premium license docs (#14778)

- [x] Mention Orgs is beta and add a link to get feedback
- [x] Add docs on new provisioner authentication architecture and
deprecate the old one
- [x] Add/update docs for IdP sync
  - [x] Organization Sync
  - [x] Group Sync
  - [x] Role Sync
- [x] Modify `coder.com` codebase to add `Premium` and `Beta` pill, and
allow multiple pills: https://github.com/coder/coder.com/pull/638
- [x] Replace all mentions of "Enterprise" with "Premium" in docs
  - [x] edit: change it to "Licensing"
- [x] Remove the enterprise page and change all links to
coder.com/pricing
- [x] Merge #14786
- [x] Add redirects for coder.com to redirect the `using-organizations`
guide to the new orgs one and /enterprise to /premium
https://github.com/coder/coder.com/pull/645
- [x] Custom roles
- [x] https://github.com/coder/coder/pull/14786
- [x] Remove all mentions of orgs experiment
- [x] Update in-product copy & links to link to the new docs pages

Anything I am missing?

---

[Preview
this](https://coder.com/docs/@orgs-licenses/admin/organizations)

---------

Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com>
Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com>
Co-authored-by: Jaayden Halko <jaayden.halko@gmail.com>
This commit is contained in:
Ben Potter
2024-10-01 12:34:16 -05:00
committed by GitHub
co-authored by Edward Angert EdwardAngert Jaayden Halko
parent b786166ddf
commit d04eaf8392
48 changed files with 725 additions and 391 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ export const Paywall: FC<PaywallProps> = ({
</ul>
<div css={styles.learnButton}>
<Button
href={docs("/enterprise")}
href={docs("/licensing")}
target="_blank"
rel="noreferrer"
startIcon={<span css={{ fontSize: 22 }}>&rarr;</span>}
@@ -62,7 +62,7 @@ export const PopoverPaywall: FC<PopoverPaywallProps> = ({
</ul>
<div css={styles.learnButton}>
<Button
href={docs("/enterprise")}
href={docs("/licensing")}
target="_blank"
rel="noreferrer"
startIcon={<span css={{ fontSize: 22 }}>&rarr;</span>}
@@ -69,7 +69,7 @@ export const CreateOrganizationPageView: FC<
<div>
<SettingsHeader
title="New Organization"
description="Organize your deployment into multiple platform teams."
description="Organize your deployment into multiple platform teams with unique provisioners, templates, groups, and members."
/>
{Boolean(error) && !isApiValidationError(error) && (
@@ -92,7 +92,7 @@ export const CreateOrganizationPageView: FC<
<PopoverPaywall
message="Organizations"
description="Create multiple organizations within a single Coder deployment, allowing several platform teams to operate with isolated users, templates, and distinct underlying infrastructure."
documentationLink={docs("/guides/using-organizations")}
documentationLink={docs("/admin/organizations")}
/>
</PopoverContent>
</Popover>
@@ -104,7 +104,7 @@ export const CreateOrganizationPageView: FC<
<Paywall
message="Organizations"
description="Create multiple organizations within a single Coder deployment, allowing several platform teams to operate with isolated users, templates, and distinct underlying infrastructure."
documentationLink={docs("/guides/using-organizations")}
documentationLink={docs("/admin/organizations")}
/>
</Cond>
<Cond>
@@ -21,7 +21,9 @@ export const IdpSyncHelpTooltip: FC = () => {
Coder. Use the Coder CLI to configure these mappings.
</HelpTooltipText>
<HelpTooltipLinksGroup>
<HelpTooltipLink href={docs("/admin/auth#group-sync-enterprise")}>
<HelpTooltipLink
href={docs("/admin/auth#group-sync-enterprise-premium")}
>
Configure IdP Sync
</HelpTooltipLink>
</HelpTooltipLinksGroup>
@@ -74,7 +74,7 @@ export const IdpSyncPage: FC = () => {
<Button
startIcon={<LaunchOutlined />}
component="a"
href={docs("/admin/auth#group-sync-enterprise")}
href={docs("/admin/auth#group-sync-enterprise-premium")}
target="_blank"
>
Setup IdP Sync
@@ -85,7 +85,9 @@ export const IdpSyncPage: FC = () => {
<Paywall
message="IdP Sync"
description="Configure group and role mappings to manage permissions outside of Coder. You need an Premium license to use this feature."
documentationLink={docs("/admin/groups")}
documentationLink={docs(
"/admin/auth#group-sync-enterprise-premium",
)}
/>
</Cond>
<Cond>
@@ -313,7 +313,7 @@ const IdpMappingTable: FC<IdpMappingTableProps> = ({
startIcon={<LaunchOutlined />}
component="a"
href={docs(
`/admin/auth#${type.toLowerCase()}-sync-enterprise`,
`/admin/auth#${type.toLowerCase()}-sync-enterprise-premium`,
)}
target="_blank"
>
@@ -403,7 +403,7 @@ const LegacyGroupSyncHeader: FC = () => {
configure IdP sync via the CLI, which enables sync to be
configured for any organization, and for those settings to be
persisted without manually setting environment variables.{" "}
<Link href={docs("/admin/auth#group-sync-enterprise")}>
<Link href={docs("/admin/auth#group-sync-enterprise-premium")}>
Learn more&hellip;
</Link>
</HelpTooltipText>
@@ -92,7 +92,7 @@ const ViewContent: FC<ViewContentProps> = ({ buildInfo, provisioners }) => {
target="_blank"
href={docs("/admin/provisioners")}
>
Show me how to create a provisioner
Create a provisioner
</Button>
}
/>
+1 -1
View File
@@ -211,7 +211,7 @@ export const SetupPageView: FC<SetupPageViewProps> = ({
quotas, and more.
</span>
<Link
href={docs("/enterprise")}
href={docs("/licensing")}
target="_blank"
css={{ marginTop: 4, display: "inline-block", fontSize: 13 }}
>