-
Notifications
You must be signed in to change notification settings - Fork 27
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
✨ Error pages when published studies dispatcher fails, access rights fixes and plugin refactoring #3962
✨ Error pages when published studies dispatcher fails, access rights fixes and plugin refactoring #3962
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3962 +/- ##
=========================================
- Coverage 85.6% 83.4% -2.3%
=========================================
Files 793 429 -364
Lines 36675 21960 -14715
Branches 842 137 -705
=========================================
- Hits 31418 18316 -13102
+ Misses 5034 3595 -1439
+ Partials 223 49 -174
Flags with carried forward coverage won't be shown. Click here to find out more.
|
e7c3668
to
c156a62
Compare
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.
👍
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.
Some minor things 👍
services/web/server/src/simcore_service_webserver/projects/projects_db_utils.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/projects/projects_db_utils.py
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/studies_dispatcher/_studies_access.py
Outdated
Show resolved
Hide resolved
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.
looking good! some small comments. and also be careful with usage of utcnow
services/web/server/src/simcore_service_webserver/projects/projects_db.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/studies_dispatcher/_projects.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/studies_dispatcher/_studies_access.py
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/studies_dispatcher/_users.py
Show resolved
Hide resolved
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.
Thanks @pcrespov for this!
If I understand it well, we are NOT yet blocking "guests" from accessing certain templates, right?
Is it something that will be done soon? EN just asked when we can put online links to templates with Jupyterlabs. They are needed for the SC meeting (=ideally today or tomorrow, when the first documents will be sent to the SC).
Maybe we can workaround by using the temp accounts that you have introduced with this PR? We can make the duration quite short, do avoid any malicious intervention...
…jects_db.py Co-authored-by: Sylvain <[email protected]>
…atcher/_projects.py Co-authored-by: Sylvain <[email protected]>
Code Climate has analyzed commit 77210b0 and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
What do these changes do?
To publish a study it needs to:
published
fiend in the database must be checkedCurrently any published study can be accessed via a link with path
/study/{project_id}
. That link will copy and open the study even if the user is not logged it. If this request fails it will now display an error page with details.This PR provides:
@odeimaiz some improvements in the FE are necessary for the two first items -> #3987
In addition, this PR
"Python: Remote Attach GC webserver"
in the `launch.template.json`` to debug the garbage collection serviceRelated issue/s
How to test
https://{host}:{port}/studies/{study_uuid}
as guest and will open a copy of the studyhttps://{host}:{port}/studies/{study_uuid}
and will open a copy of the studyhttps://{host}:{port}/studies/{study_uuid}
should fail with an error pagehttps://{host}:{port}/studies/{study_uuid}
should fail with an error pagehttps://{host}:{port}/studies/{study_uuid}
should fail with an error pageChecklist
make version-*