Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data RoleValues = RoleValues' {}
- newRoleValues :: RoleValues
- roleValues_admin :: Lens' RoleValues (Maybe [Text])
- roleValues_editor :: Lens' RoleValues (Maybe [Text])
Documentation
data RoleValues Source #
This structure defines which groups defined in the SAML assertion
attribute are to be mapped to the Grafana Admin
and Editor
roles in
the workspace. SAML authenticated users not part of Admin
or Editor
role groups have Viewer
permission over the workspace.
See: newRoleValues
smart constructor.
Instances
newRoleValues :: RoleValues Source #
Create a value of RoleValues
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:admin:RoleValues'
, roleValues_admin
- A list of groups from the SAML assertion attribute to grant the Grafana
Admin
role to.
$sel:editor:RoleValues'
, roleValues_editor
- A list of groups from the SAML assertion attribute to grant the Grafana
Editor
role to.
roleValues_admin :: Lens' RoleValues (Maybe [Text]) Source #
A list of groups from the SAML assertion attribute to grant the Grafana
Admin
role to.
roleValues_editor :: Lens' RoleValues (Maybe [Text]) Source #
A list of groups from the SAML assertion attribute to grant the Grafana
Editor
role to.