-
Notifications
You must be signed in to change notification settings - Fork 15
Allow users with workspace write permission to edit notebook #258
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
Conversation
cfe18df to
6414e40
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #258 +/- ##
==========================================
+ Coverage 66.20% 66.23% +0.03%
==========================================
Files 59 59
Lines 2018 2017 -1
Branches 486 490 +4
==========================================
Hits 1336 1336
+ Misses 675 674 -1
Partials 7 7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| }; | ||
|
|
||
| useEffect(() => { | ||
| const subscription = workspaces.workspaceList$.subscribe((workspaceList) => { |
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.
Nit: What about just read currentWorkspace$ here? It should have the same readonly property as well.
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.
Done, thanks for the suggestion!
| NOTEBOOK_SAVED_OBJECT, | ||
| request.body.noteId | ||
| ); | ||
| const createCloneNotebook = cloneNotebook( |
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.
Maybe an existing issue, do we need to add the owner to the cloned notebook?
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.
Fixed
6414e40 to
9175578
Compare
|
Hi @FriedhelmWS , do we need to add the readonly check to the start investigation entrypoint? I think it would be fine if it just response a failed to create notebook in the explore page. |
9175578 to
9e64f8c
Compare
|
public/components/notebooks/components/hypothesis/hypotheses_panel.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: Owen Wang <[email protected]>
9e64f8c to
cf6b982
Compare

Description
Issues Resolved
NA
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.