grafana/docs/sources/setup-grafana/configure-grafana
Misi 63f1c30313
Auth: Set the default org after User login (#83918)
* poc

* add logger, skip hook when user is not assigned to default org

* Add tests, move to hook folder

* docs

* Skip for OrgId < 1

* Address feedback

* Update docs/sources/setup-grafana/configure-grafana/_index.md

* lint

* Move the hook to org_sync.go

* Update pkg/services/authn/authnimpl/sync/org_sync.go

* Handle the case when GetUserOrgList returns error

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2024-03-12 09:35:13 +01:00
..
configure-custom-branding Doc: Custom branding is not applicable to OSS (#82082) 2024-02-08 07:25:49 -06:00
configure-tracing Explicitly set all front matter labels in the source files (#71548) 2023-07-18 09:10:12 +01:00
enterprise-configuration Doc: Add docs for direct mapping of `None` role for SAML (#76551) 2023-10-13 16:01:55 +01:00
feature-toggles Remove legacy alerting docs (#84190) 2024-03-12 05:37:41 +01:00
proxy Plugins: Add option to disable TLS in the socks proxy (#79246) 2023-12-14 12:16:32 -03:00
settings-updates-at-runtime Explicitly set all front matter labels in the source files (#71548) 2023-07-18 09:10:12 +01:00
_index.md Auth: Set the default org after User login (#83918) 2024-03-12 09:35:13 +01:00