Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add runner role to SR #1519

Merged
merged 2 commits into from
Sep 18, 2024
Merged

Add runner role to SR #1519

merged 2 commits into from
Sep 18, 2024

Conversation

jmthomas
Copy link
Member

@jmthomas jmthomas commented Sep 5, 2024

No description provided.

@jmthomas jmthomas requested a review from ryanmelt September 5, 2024 23:02
Copy link

codecov bot commented Sep 5, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 76.75%. Comparing base (9a770f6) to head (ec962ff).
Report is 58 commits behind head on main.

Files with missing lines Patch % Lines
...riptrunner/src/tools/ScriptRunner/ScriptRunner.vue 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1519      +/-   ##
==========================================
+ Coverage   76.57%   76.75%   +0.18%     
==========================================
  Files         608      609       +1     
  Lines       45385    45942     +557     
  Branches      798      800       +2     
==========================================
+ Hits        34753    35265     +512     
- Misses      10544    10589      +45     
  Partials       88       88              
Flag Coverage Δ
frontend 55.80% <0.00%> (-0.03%) ⬇️
python 84.61% <ø> (+0.42%) ⬆️
ruby-api 49.00% <ø> (ø)
ruby-backend 82.23% <ø> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -900,6 +900,9 @@ export default {
if (role == 'admin' || role == 'operator') {
this.readOnlyUser = false
this.executeUser = true
} else if (role == 'runner') {
this.readOnlyUser = true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line isn't needed and could cause problems if a user had both operater and runner.

Copy link

@ryanmelt ryanmelt merged commit 10600fe into main Sep 18, 2024
27 checks passed
@ryanmelt ryanmelt deleted the sr_runner branch September 18, 2024 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants