-
Notifications
You must be signed in to change notification settings - Fork 917
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
[Workspace] refactor: Remove permission validation in workspace form #9065
Conversation
Signed-off-by: tygao <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9065 +/- ##
==========================================
- Coverage 60.87% 60.86% -0.02%
==========================================
Files 3808 3808
Lines 91209 91159 -50
Branches 14410 14393 -17
==========================================
- Hits 55528 55480 -48
+ Misses 32140 32138 -2
Partials 3541 3541
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: tygao <[email protected]>
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.
LGTM
…9065) * refactor: remove permission verification in workspace form Signed-off-by: tygao <[email protected]> * Changeset file for PR #9065 created/updated * remove extra import in test Signed-off-by: tygao <[email protected]> --------- Signed-off-by: tygao <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> Co-authored-by: Yulong Ruan <[email protected]> (cherry picked from commit c61c7cd) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Remove permission validation in workspace form.
As collaborator section has been removed in workspace detail page, and permission value in workspace create page is fixed, we don't need this validation in workspace form any more.
Screenshot
Before you will see a permission error which would block workspace update in workspace detail page, now this will not exist.
Testing the changes
Go to workspace detail page and click edit, you won't see any form errors related to permission.
Changelog
Check List
yarn test:jest
yarn test:jest_integration