Draft
Conversation
Contributor
Author
|
Need to check these SSO users who each have access to 2 tenants - are both of those SSO tenants? if so, how do we resolve the one sso user to one sso tenant constraint? [
{
"id": "0214efc9-08e8-41e4-bbd2-7a935c34c2c4",
"email": "fabio.bricchi@openfiber.it",
"tenant_count": 2,
"tenants": "{OpenFiber_AWS/,OpenFiber_Test/}"
},
{
"id": "24e836af-8b6e-493c-9833-fa084882a0df",
"email": "kbinder@aaalife.com",
"tenant_count": 2,
"tenants": "{AAA_Life/,AAA_Life_Insurance_Company/}"
},
{
"id": "2b76e63b-5408-43a7-94b6-ad9cfc9f59cc",
"email": "mlaporta.sys.ca@firstlight.net",
"tenant_count": 2,
"tenants": "{FirstLightFiber/,FirstLight_POC/}"
},
{
"id": "42146fef-6128-4c67-90c4-fa7215656aa7",
"email": "leonardo.massari@openfiber.it",
"tenant_count": 2,
"tenants": "{OpenFiber_AWS/,OpenFiber_Test/}"
},
{
"id": "42b4b67d-d923-4089-b705-9b7d0364bfe6",
"email": "rreddygangireddy@aaalife.com",
"tenant_count": 2,
"tenants": "{AAALI/,AAA_Life/}"
},
{
"id": "4706869f-1739-4123-bdc8-2f0ce4b08c63",
"email": "tommaso.ruta.external@openfiber.it",
"tenant_count": 2,
"tenants": "{OpenFiber_AWS/,OpenFiber_Test/}"
},
{
"id": "4dcf393b-3531-4d9b-ac39-2508187adb15",
"email": "francesco.surace.external@openfiber.it",
"tenant_count": 2,
"tenants": "{OpenFiber_AWS/,OpenFiber_Test/}"
},
{
"id": "51aa6826-0112-4921-959e-41b553b3b307",
"email": "denise.trovato.external@openfiber.it",
"tenant_count": 2,
"tenants": "{OpenFiber_AWS/,OpenFiber_Test/}"
},
{
"id": "63408de3-04b7-42cb-a8aa-2f2f3aeec570",
"email": "tbarlow@aaalife.com",
"tenant_count": 2,
"tenants": "{AAALifeInsurance/,AAA_Life/}"
},
{
"id": "a3f168f0-6669-4896-8bc0-c3b80850655c",
"email": "antonio.grande.external@openfiber.it",
"tenant_count": 2,
"tenants": "{OpenFiber_AWS/,OpenFiber_Test/}"
},
{
"id": "a458f8d5-6259-4b7d-8f94-59af26b2f685",
"email": "massimo.iovine.external@openfiber.it",
"tenant_count": 2,
"tenants": "{OpenFiber_AWS/,OpenFiber_Test/}"
},
{
"id": "a9a7b590-c9e6-406a-a080-734c279910d7",
"email": "dreyling@aaalife.com",
"tenant_count": 2,
"tenants": "{AAA_Life/,aaa-life/}"
},
{
"id": "ce7c7165-004e-44ba-8e8b-3a770fcae4c1",
"email": "antonio.pollidori.external@openfiber.it",
"tenant_count": 2,
"tenants": "{OpenFiber_AWS/,OpenFiber_Test/}"
},
{
"id": "e46278f8-cb38-4faf-9e62-71a93f91580f",
"email": "luigi.dauria.external@openfiber.it",
"tenant_count": 2,
"tenants": "{OpenFiber_AWS/,OpenFiber_Test/}"
}
] |
ca6b2cf to
d7e4dbf
Compare
29e6c63 to
50bd948
Compare
1566581 to
3fbc8d2
Compare
50bd948 to
774dabe
Compare
d47f7f4 to
215426a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enforce SSO at the authorization layer so that when a tenant has
enforce_sso = true, non-SSO users' grants on that tenant are excluded.sso_provider_idandenforce_ssocolumns to thetenantstableinternal.user_roles()to filter out user grants, block transitive grants to non-sso users from sso tenantsuser_grantsfetch) used by the GraphQL APITest plan
closes #2766