This message was deleted.
# automation-api
s
This message was deleted.
n
To give more details here, if instead of an organization token I use a personal access token, I'm able to create the stack 'pippo' without issues (I'm an admin for my organization). Apparently the problem is create a stack using an organization token (even if admin).
b
are you logged into the service in the locatiin you’re using automation API?
n
If I run the
pulumi whoami -v
command I actually see the details I'm expecting,
Copy code
User: <organization-name>
Organization: <organization-name>
BackendURL: <my-organization-backend-url>
I can destroy an existing stack with the organization token, I can't create a new stack
b
in your org setting: https://app.pulumi.com/<orgname>/settings/access-management
what are these values set to?
n
Stack permission for all members: None False False True (Sorry, can't upload image)
b
if you set the top one to true instead of false it’ll fix it
n
but that would give permission to all users with write permissions to create stacks am I right? We only want admin users to have such permission
b
To give more details here, if instead of an organization token
Organization tokens only have member access. There is an upcoming change to allow org tokens with admin access, but not sure of its ETA
n
I think this is available on the frontend at least
But even if I activate the "Admin Access" the token doesn't have the rights to perform admin operations like create a stack
I've opened a ticket on github for reference https://github.com/pulumi/pulumi-cloud-requests/issues/287
b
sounds great, does look like a bug