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

Allow anonymous users to get condor job status #1119

Merged
merged 5 commits into from
Dec 20, 2024

Conversation

James-Dolinar
Copy link
Contributor

Description

This merge request addresses anonymous users being unable to get the status of a condor job. Without this fix, the anonymous user cannot view a jobs_table gizmo that correctly refreshes the status of its jobs.

Changes Made to Code:

Related

Additional Notes

Quality Checks

  • New code is 100% tested
  • Code has been formated
  • Code has been linted
  • Docstrings for new methods have been added

James Dolinar added 3 commits November 27, 2024 16:19
- Updated existing tests to ensure they handle scenarios involving anonymous users correctly.
- Added new tests to cover additional cases where an anonymous user is involved.
@coveralls
Copy link

coveralls commented Dec 4, 2024

Coverage Status

coverage: 100.0%. remained the same
when pulling 6189015 on James-Dolinar:fix-async-login-required
into 4cd3f1f on tethysplatform:main.

@swainn swainn requested a review from sdc50 December 13, 2024 21:55
@swainn swainn merged commit eebdefc into tethysplatform:main Dec 20, 2024
42 checks passed
swainn pushed a commit that referenced this pull request Dec 20, 2024
* Allow anonymous users to get condor job status

* Add type checks in anonymous user checks

* Update and add tests for when an anonymous user is used

- Updated existing tests to ensure they handle scenarios involving anonymous users correctly.
- Added new tests to cover additional cases where an anonymous user is involved.

* Add unit test for JobManager.create_job that uses an anonymous user

* Format test_job_manager.py using python black formatter

---------

Co-authored-by: James Dolinar <[email protected]>
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.

4 participants