Skip to content

Commit

Permalink
ECOPROJECT-2451: Login dialog -recommend use read only VMWare permiss…
Browse files Browse the repository at this point in the history
…ions (#70)

Signed-off-by: Nir Argaman <nargaman@redhat.com>
  • Loading branch information
nirarg authored Jan 20, 2025
1 parent 1abe14e commit d4fb259
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion apps/agent/src/login-form/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@ import {
SplitItem,
Split,
Icon,
Divider,
} from "@patternfly/react-core";
import { LoginFormViewModelInterface } from "./hooks/UseViewModel";
import { FormStates } from "./FormStates";
import { CheckCircleIcon } from "@patternfly/react-icons";
import {
CheckCircleIcon,
InfoCircleIcon
} from "@patternfly/react-icons";
import { getConfigurationBasePath } from "#/main/Root";
import globalSuccessColor100 from "@patternfly/react-tokens/dist/esm/global_success_color_100";

Expand Down Expand Up @@ -61,6 +65,22 @@ export const LoginForm: React.FC<LoginForm.Props> = (props) => {
</TextContent>
</CardHeader>

<Divider style={{ backgroundColor: "#f5f5f5", height: "10px", border: "none" }} />

<CardBody id="card-body-note" style={{ backgroundColor: "#ffffff", border: "1px solid #d2d2d2", padding: "1rem" }}>
<TextContent style={{ display: "flex", alignItems: "center", gap: "0.5rem" }}>
<InfoCircleIcon color="#007bff" />
<Text component="p" style={{ color: "#002952", fontWeight: "bold" }}>
Access control
</Text>
</TextContent>
<Text component="p" style={{ marginTop: "0.5rem", marginLeft: "1.5rem" }}>
To ensure secure access during the discovery process, we recommend creating a dedicated VMware user account with read-only permissions.
</Text>
</CardBody>

<Divider style={{ backgroundColor: "#f5f5f5", height: "10px", border: "none" }} />

<CardBody
id="card-body-description"

Expand Down

0 comments on commit d4fb259

Please sign in to comment.