Auth: Add org to role mappings support to GitHub integration (#88537)

* wip: add extra tests for verifying current logic

* Add OrgRole mapping and tests

* Update docs

* Clean up

* Update docs/sources/setup-grafana/configure-security/configure-authentication/github/index.md

Co-authored-by: Mihai Doarna <mihai.doarna@grafana.com>

* Update docs with None role

* Apply suggestions from code review

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Fix

* Prettier docs

* Cleanup tests

---------

Co-authored-by: Mihai Doarna <mihai.doarna@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
This commit is contained in:
Misi
2024-06-03 14:24:58 +02:00
committed by GitHub
parent e147c58a7b
commit eacf6e0a4d
11 changed files with 258 additions and 185 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
## Delete API Key
`DELETE /api/auth/keys/:id`
`DELETE /api/auth/keys/:id`
**Required permissions**