Scalr / scalr-vscode

The Scalr VSCode Extension is a tool designed to streamline your Opentofu/Terraform workflows by integrating Scalr directly into your Visual Studio Code environment.
https://marketplace.visualstudio.com/items?itemName=Scalr.scalr
Mozilla Public License 2.0
5 stars 1 forks source link

[Bug]: Handle api permissions on actions #26

Open penja opened 2 months ago

penja commented 2 months ago

Describe the bug Currently, the extension does not handle not available actions according to the RBAC permissions

To Reproduce

  1. Configure the user without creating a run permission
  2. Login to the extension
  3. Try to create a run from the workspace panel
  4. See error

Expected behavior If the user does not have permission on the workspace the run action should be hidden