If you’re trying to deploy to Astronomer Cloud or Enterprise (whether via the CLI or CI/CD), you might get an error akin to:
Error: command 'docker push registry.gcp0001.us-east4.astronomer.io/geosynchronous-cosmos-6014/airflow:cli-1' failed: denied: You do not have permission to manage geosynchronous-cosmos-6014
This error indicates that, as a user, you don’t have the permissions you need to push code to that deployment on Astronomer.
Fix
To successfully deploy, you’ll need to make sure you’re an “Admin” or “Editor” on your Astronomer Workspace (not a “Viewer”, which is the default).
- Navigate to the Astronomer UI to verify who on your team is listed as an “Admin” in the Workspace (and that the deployment you’re pushing code to is in that Workspace)
- Ask an “Admin” to give you either “Admin” or “Editor” access
Note: For an overview of permission sets and our role-based access control functionality, refer to this doc. If you’re an Astronomer Enterprise user, you may be able to configure the roles themselves. Reach out to our Support Team for assistance.