faint-motherboard-95438
06/17/2024, 2:20 PMinvalid_request: internal error creating personal token validation error user is not an organization member
and can basically do nothing in this plan since "Members can access stacks based on organization settings." but this is not available on this plan
• Wanting to give a member the administrator access to resolve this problem, while not ideal and definitely not a good security practice, is actually not possible because "This organization can only have one administrator. By making [member] the administrator, you will no longer be able to manage this organization's subscription or permissions."
So, what's the point of having an organization, members and paying for this plan if there is actually no real benefits doing so ?
Additional question : From what I understand, the pulumi OIDC with "Teams" plan is actually wide open and does not provide some granular control over what we grant to, say, a github CI workflow since we need an admin token, right ?
So this is not possible to "protect" who has access to what and restrict access to production esc envs, secrets or deployments, that's an all or nothing type of policy, which is really not great from a security standpoint.white-balloon-205
able-market-62580
06/18/2024, 8:23 PMfaint-motherboard-95438
06/19/2024, 5:27 AMfaint-motherboard-95438
06/19/2024, 7:34 AM- uses: pulumi/auth-actions@v1
with:
organization: **REDACTED**
requested-token-type: urn:pulumi:token-type:access_token:personal
scope: user:**REDACTED**
But I've figured it out, it was because of membership requirement linked to the github organization and the user I was testing with apparently doesn't have his pulumi account linked to github.
The error should include the real reason to help debug this problem, since the user is part of the pulumi organization and an explicit oidc policy was set to allow him to retrieve a token, so that was puzzling and I had no way to know the member does not meet this requirement (nothing displayed in the Members tab of the organization nor elsewhere).able-market-62580
06/19/2024, 12:13 PM