equinor / radix-platform

Omnia Radix platform - base scripts and code
MIT License
27 stars 3 forks source link

Radix Production cluster access needed in order to use CLI against Radix Playground #422

Closed anders-kiaer closed 1 year ago

anders-kiaer commented 3 years ago

If users (like me) apply for Radix Playground access and want to familiarize with Radix before applying for Radix Prod access, they will not be able to test out Radix CLI.

With only Playground access, even when deploying towards Playground using e.g.

rx create application --application some-application --owner username@equinor.com --config-branch main --repository https://github.com/repo/path --wbs some.wbs --context playground

the user will face

AADSTS50105: The signed in user 'user@email.com' is not assigned to a role for the application 'a593a59c-8f76-490e-937b-a90779039a90'(Omnia Radix Web Console - Production Clusters).

This appears to be due to only prod ID being stated in this configuration file: https://github.com/equinor/radix-cli/blob/a74048fc03fb26aebfe4f31796474541274ecc7f/pkg/config/radix_config.go#L26

Reference: See also internal Slack thread.

oyron commented 1 year ago

This should have been fixed after the configuration was updated a while ago. Closing the issue now, but please let us know if this reoccurs.