SAML: Allow wildcard mapping to add user to all existing orgs (#55628)

This commit is contained in:
Gabriel MABILLE 2022-09-22 17:34:00 +02:00 committed by GitHub
parent 27288276a2
commit 3ce76e1e78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -340,10 +340,17 @@ You can specify multiple organizations both for the IdP and Grafana:
- `org_mapping = Engineering:2, Sales:2` to map users from `Engineering` and `Sales` to `2` in Grafana.
- `org_mapping = Engineering:2, Engineering:3` to assign `Engineering` to both `2` and `3` in Grafana.
You can use `*` as an Organization if you want all your users to be in some organizations with a default role:
You can use `*` as the SAML Organization if you want all your users to be in some Grafana organizations with a default role:
- `org_mapping = *:2:Editor` to map all users to `2` in Grafana as Editors.
> **Note:** Available in Grafana version 9.2 and later.
You can use `*` as the Grafana organization in the mapping if you want all users from a given SAML Organization to be added to all existing Grafana organizations.
- `org_mapping = Engineering:*` to map users from `Engineering` to all existing Grafana organizations.
- `org_mapping = Administration:*:Admin` to map users from `Administration` to all existing Grafana organizations as Admins.
### Configure allowed organizations
> **Note:** Available in Grafana version 7.0 and later.