AzBuilder / terrakube

Open source IaC Automation and Collaboration Software.
https://docs.terrakube.io
Apache License 2.0
529 stars 47 forks source link

feat: Adding new manage job permission #1552

Closed alfespa17 closed 5 days ago

alfespa17 commented 5 days ago

Adding specific permission to trigger jobs from the UI and CLI

image

image

If the user doesnt have the manage job permission the UI will show a little error message now

image

When running the terraform/tofu cli it will show the message like this:

user@pop-os:~/git/simple-terraform$ terraform plan
╷
│ Error: Insufficient rights to generate a plan
│ 
│ The provided credentials have insufficient rights to generate a plan. In
│ order to generate plans, at least plan permissions on the workspace are
│ required.
╵
sonarcloud[bot] commented 5 days ago

Quality Gate Passed Quality Gate passed

Issues
3 New issues
0 Accepted issues

Measures
0 Security Hotspots
52.5% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud