Remove LDAP specific example from team sync (#51368)

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
This commit is contained in:
Jguer
2022-06-24 13:29:50 +00:00
committed by GitHub
parent c804639b53
commit 9a82ed7105
2 changed files with 7 additions and 5 deletions

View File

@@ -37,7 +37,7 @@ interface State {
const connector = connect(mapStateToProps, mapDispatchToProps);
export type Props = OwnProps & ConnectedProps<typeof connector>;
const headerTooltip = `Sync LDAP or OAuth groups with your Grafana teams.`;
const headerTooltip = `Sync LDAP, OAuth or SAML groups with your Grafana teams.`;
export class TeamGroupSync extends PureComponent<Props, State> {
constructor(props: Props) {
@@ -130,17 +130,19 @@ export class TeamGroupSync extends PureComponent<Props, State> {
<CloseButton onClick={this.onToggleAdding} />
<form onSubmit={this.onAddGroup}>
<InlineFieldRow>
<InlineField label={'Add External Group'}>
<InlineField
label={'Add External Group'}
tooltip="LDAP Group Example: cn=users,ou=groups,dc=grafana,dc=org."
>
<Input
type="text"
id={'add-external-group'}
placeholder=""
value={newGroupId}
onChange={this.onNewGroupIdChanged}
placeholder="cn=ops,ou=groups,dc=grafana,dc=org"
disabled={isReadOnly}
/>
</InlineField>
<Button type="submit" disabled={isReadOnly || !this.isNewGroupValid()} style={{ marginLeft: 4 }}>
Add group
</Button>