-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: add support for sessions in Renku 2.0 #133
Conversation
Fixes #134. Add `default_url` to session environments and session launchers.
Pull Request Test Coverage Report for Build 8282998327Details
💛 - Coveralls |
You can access the deployment of this PR at https://renku-ci-ds-133.dev.renku.ch |
…mpute-sessions-final
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! Please see my comments.
return | ||
|
||
authorized = await self.project_authz.has_permission( | ||
user=user, project_id=launcher.project_id, scope=Scope.WRITE |
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.
scope
should be Scope.DELETE
here.
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.
Huh? Why? This is checking that the user has the write
permission on the project.
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.
We have a special permission for delete which we check when deleting a project. Here should be the same I believe.
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.
NO! I am removing a session launcher, not the project itself.
Tearing down the temporary RenkuLab deplyoment for this PR. |
See SwissDataScienceCenter/renku#3475.
/deploy #notest renku=release-0.50.x