-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: DOC-1356 * docs: updated content * docs: updated page and added component * chore: remove comment * docs: update text URL * docs: Apply suggestions from code review Co-authored-by: caroldelwing <[email protected]> * chore: minor changes per feedback * docs: README update --------- Co-authored-by: caroldelwing <[email protected]>
- Loading branch information
1 parent
8ab2d3b
commit 2f8833c
Showing
11 changed files
with
174 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
partial_category: self-hosted | ||
partial_name: login-banner | ||
--- | ||
|
||
|
||
|
||
|
||
{props.edition} allows you to add a Login banner, also known as an Authority to Operate (ATO) banner or System Message, to the login page. This banner can display important information to users before they log in to the system console or to an individual tenant. | ||
|
||
|
||
:::warning | ||
|
||
Setting a login banner at the system console will override any tenant-specific login banners configured. Refer to the <VersionedLink text="Tenant Login Banner" url="/tenant-settings/login-banner/"/> guide to learn more about tenant-specific login banners. | ||
|
||
::: | ||
|
||
|
||
Use the following steps to add a login banner to the {props.edition} login page. | ||
|
||
## Prerequisites | ||
|
||
- Access to the {props.edition} <PaletteVertexUrlMapper | ||
edition={props.edition} | ||
text="system console" | ||
url="/system-management/#access-the-system-console" | ||
/> | ||
<!-- prettier-ignore --> | ||
- System administrator permissions, either a Root Administrator or Operations Administrator. Refer to the | ||
<PaletteVertexUrlMapper | ||
edition={props.edition} | ||
text="System Administrators" | ||
url="/system-management/account-management" | ||
/> page to learn more about system administrator roles. | ||
|
||
|
||
|
||
|
||
## Setup Login Banner | ||
|
||
|
||
<!-- prettier-ignore --> | ||
1. Log in to the {props.edition} system console. Refer to the | ||
<PaletteVertexUrlMapper | ||
edition={props.edition} | ||
text="Access System Console" | ||
url="/system-management/#access-the-system-console" | ||
/> guide for more information. | ||
|
||
2. From the left **Main Menu**, select **Administration**. | ||
|
||
3. Select the **ATO Message** tab, and toggle the **Display Login Banner** switch to enable the login banner. | ||
|
||
4. Fill out the **Login Banner Title** and **Login Banner Message** fields with the desired content. | ||
|
||
5. Click **Save** to apply the changes. | ||
|
||
## Validate | ||
|
||
1. Log out of the {props.edition} system console. | ||
|
||
2. Visit the {props.edition} system console login page. | ||
|
||
3. The Login banner is displayed before you are prompted to log in. | ||
|
||
|
||
|
||
|
||
|
||
|
14 changes: 14 additions & 0 deletions
14
docs/docs-content/enterprise-version/system-management/login-banner.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
sidebar_label: "Login Banner" | ||
title: "Login Banner" | ||
description: "Learn how to add an ATO banner in Palette." | ||
icon: "" | ||
hide_table_of_contents: false | ||
sidebar_position: 100 | ||
tags: ["enterprise", "management", "ato"] | ||
keywords: ["self-hosted", "enterprise", "ato"] | ||
--- | ||
|
||
import LoginBanner from "../../../../_partials/self-hosted/_login-banner.mdx"; | ||
|
||
<LoginBanner name="login-banner" edition="Palette" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
docs/docs-content/vertex/system-management/login-banner.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
sidebar_label: "Login Banner" | ||
title: "Login Banner" | ||
description: "Learn how to add an ATO banner in VerteX." | ||
icon: "" | ||
hide_table_of_contents: false | ||
sidebar_position: 100 | ||
tags: ["vertex", "management", "ato"] | ||
keywords: ["self-hosted", "vertex", "ato"] | ||
--- | ||
|
||
import LoginBanner from "../../../../_partials/self-hosted/_login-banner.mdx"; | ||
|
||
<LoginBanner name="login-banner" edition="VerteX" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/components/PaletteVertexUrlMapper/PaletteVertexUrlMapper.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React from "react"; | ||
import VersionedLink from "../VersionedLink/VersionedLink"; | ||
|
||
// This component is used to generate the correct URL for the palette and vertex versions of the documentation. | ||
// It takes the edition, text, and URL as props and returns the correct URL based on the edition. | ||
|
||
interface ComponentProperties { | ||
[key: string]: string; | ||
} | ||
|
||
export default function PaletteVertexUrlMapper(props: ComponentProperties) { | ||
const { edition, text, url } = props; | ||
const isPalette = edition?.toLowerCase() === "palette"; | ||
const mappedUrl = isPalette ? `/enterprise-version${url}` : `/vertex${url}`; | ||
|
||
return <VersionedLink url={mappedUrl} text={text} />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import PaletteVertexUrlMapper from "./PaletteVertexUrlMapper"; | ||
|
||
export default PaletteVertexUrlMapper; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters