grafana/pkg
Eric Leijonmarck c5e74ee607
Auth: Add skip_org_role_sync for AzureAD OAuth (#60322)
* [WIP] Auth: add backend skipOrgRoleSync to AzureAD OAuth

- add: skipOrgRoleSync
- rename: skipOrgRoleSync to skipOrgRoleSyncBase (to make it clear that
  it is the base version of SocialBase)
- add: tests for skipOrgRoleSync in AzureAD

TODO:
- [ ] frontend changes

* add: docs

* refactor: remove role from basicinfo

* add: settings for grafanacom

* add: settigns for frontend

* add: logic for azureAD user skip org role

* add: docs for skip_org_role_sync

* refactor: docs a bit

* add: tests for userinfo

* refactor: to only extract if skiporgrolesync false

* refactor: based on review comments

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

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

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

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-01-16 13:16:01 +01:00
..
api Auth: Add skip_org_role_sync for AzureAD OAuth (#60322) 2023-01-16 13:16:01 +01:00
build CI: add log for branch deletion (#60647) 2022-12-21 19:27:49 +00:00
bus Chore: Upgrade golangci-lint to v1.50.1 (#60379) 2022-12-15 12:58:48 +01:00
cmd Chore: Refectory of shorturl service, move models into service (#61295) 2023-01-12 17:13:47 +08:00
codegen Schema: Fix iterator for MajorsOrX (#61363) 2023-01-12 09:39:23 -05:00
components Refactor time durations (#58484) 2022-11-22 15:09:15 +08:00
cuectx plugindef: Move pluginmeta out of coremodels as standalone thema lineage (#56765) 2022-11-15 14:48:31 +01:00
events Alerting: Update rules version when folder title is updated (#53013) 2022-08-01 19:28:38 -04:00
expr Alerting: Redo refactoring from reverted fix in #56812 (#61051) 2023-01-09 17:01:19 +00:00
extensions Dependencies: Clean up gofrs/uuid (#51615) 2022-06-30 10:55:33 -08:00
framework/coremodel Codegen: Fix mudball gen (#60812) 2022-12-29 12:48:27 +01:00
ifaces/gcsifaces Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
infra Chore: Move tempuser model to tempuser package (#61024) 2023-01-06 09:02:05 +01:00
kinds Kindsys: Remove defs, Slot->SchemaInterface (#61069) 2023-01-06 12:37:32 -05:00
kindsys Kindsys: Remove defs, Slot->SchemaInterface (#61069) 2023-01-06 12:37:32 -05:00
login Auth: Add skip_org_role_sync for AzureAD OAuth (#60322) 2023-01-16 13:16:01 +01:00
middleware Auth: Add sub claim check to JWT Auth pre-checks (#61417) 2023-01-16 10:50:34 +01:00
mocks/mock_gcsifaces Plugins: Requests validator (#30445) 2021-02-03 20:47:45 +01:00
models Chore: Remove unused models (#61533) 2023-01-16 12:52:55 +01:00
plugins Instrumentation: measure time until plugin request (#61279) 2023-01-11 13:19:06 +00:00
registry Use preferred package header for generated code (#61059) 2023-01-06 04:57:45 -05:00
server Chore: Refectory of shorturl service, move models into service (#61295) 2023-01-12 17:13:47 +08:00
services AuthN: Readd user protection service to user sync (#61534) 2023-01-16 11:15:14 +00:00
setting Auth: Add skip_org_role_sync for AzureAD OAuth (#60322) 2023-01-16 13:16:01 +01:00
tests Elasticsearch: Return error if invalid query (#61044) 2023-01-06 11:14:17 +01:00
tsdb Cloudwatch: Add support for template variables in new log group picker (#61243) 2023-01-13 14:03:08 -05:00
util Loki/Prometheus: Change signature - return non-reference from ReadPrometheusStyleResult (#57209) 2023-01-13 09:00:39 +01:00
web AuthN: Add session client (#60894) 2023-01-04 16:10:43 +01:00
README.md Chore: Move all backend contribution documents to a single directory (#61140) 2023-01-11 11:16:52 +01:00
ruleguard.rules.go Chore: update all +build statements (#38782) 2021-09-01 17:38:56 +03:00

This directory contains the code for the Grafana backend.

The contributor documentation for Grafana's backend is in /contribute/backend/README.md.