From 3f25b56c85509924de909888dc00e85aeafcb167 Mon Sep 17 00:00:00 2001 From: paxadax Date: Thu, 4 Jul 2024 14:21:35 +0100 Subject: [PATCH] doc: Update docs as RBAC already supports Github team --- configuration/rbac-role-based-access-control/README.md | 5 ++++- .../supported-identity-providers.md | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/configuration/rbac-role-based-access-control/README.md b/configuration/rbac-role-based-access-control/README.md index 9b6fd9c..06b7e5b 100644 --- a/configuration/rbac-role-based-access-control/README.md +++ b/configuration/rbac-role-based-access-control/README.md @@ -69,7 +69,7 @@ A role also has a list of _subjects_ which are the entities we will use to assig A list of supported providers and corresponding subject fetch mechanism: * oauth\_google: `user`, `domain` -* oauth\_github: `user`, `organization` +* oauth\_github: `user`, `organization`, `team` * oauth\_cognito: `user`, `group` * ldap: `group` * ldap\_ad: (unsupported yet, will do in 0.8 release) @@ -131,6 +131,9 @@ rbac: - provider: oauth_github type: user value: "memelord" + - provider: oauth_github + type: team + value: "provectus_team" - provider: oauth_cognito type: user diff --git a/configuration/rbac-role-based-access-control/supported-identity-providers.md b/configuration/rbac-role-based-access-control/supported-identity-providers.md index b6fdf84..d9d8f26 100644 --- a/configuration/rbac-role-based-access-control/supported-identity-providers.md +++ b/configuration/rbac-role-based-access-control/supported-identity-providers.md @@ -43,6 +43,9 @@ Set up github auth [first](../authentication/oauth2.md#github) - provider: oauth_github type: user value: "memelord" + - provider: oauth_github + type: team + value: "provectus_team" ``` ### Cognito