-
Notifications
You must be signed in to change notification settings - Fork 37
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
Fix a few issues with iframes, script runner, and login #1816
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1816 +/- ##
==========================================
- Coverage 79.58% 79.57% -0.01%
==========================================
Files 517 517
Lines 40736 40739 +3
==========================================
+ Hits 32419 32420 +1
- Misses 8317 8319 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
@@ -33,7 +33,7 @@ def token_exists | |||
|
|||
def verify |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this is only called by verifyPassword
in Login.vue
@@ -21,6 +21,7 @@ RUN bundle config set --local without 'development' \ | |||
RUN ["chown", "-R", "openc3:openc3", "/src/"] | |||
COPY --chown=${IMAGE_USER}:${IMAGE_GROUP} ./ ./ | |||
RUN ["chmod", "-R", "777", "/src/"] | |||
RUN ["chmod", "-R", "555", "/src/scripts"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like running_script
sets the process cwd to /src/scripts
and we execute out of there. Can you document why this is needed or is more secure?
No description provided.