-
Notifications
You must be signed in to change notification settings - Fork 894
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
Disable input in edit data source when data_source.manageableBy is none #7307
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7307 +/- ##
=======================================
Coverage 67.50% 67.50%
=======================================
Files 3501 3501
Lines 69343 69345 +2
Branches 11305 11307 +2
=======================================
+ Hits 46808 46812 +4
+ Misses 19779 19778 -1
+ Partials 2756 2755 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
re-running failed CI
Rebased the branch |
Signed-off-by: Eemi Juntunen <[email protected]>
Signed-off-by: Eemi Juntunen <[email protected]>
Signed-off-by: Eemi Juntunen <[email protected]>
Signed-off-by: Eemi Juntunen <[email protected]>
…ne (#7307) * Disable input in edit data source when data_source.manageableBy is none Signed-off-by: Eemi Juntunen <[email protected]> * Changeset file for PR #7307 created/updated * Removed unnecessary canManageDataSource check Signed-off-by: Eemi Juntunen <[email protected]> * Fix lint issue Signed-off-by: Eemi Juntunen <[email protected]> * Update snapshot Signed-off-by: Eemi Juntunen <[email protected]> --------- Signed-off-by: Eemi Juntunen <[email protected]> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> (cherry picked from commit ddc26fc) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ne (#7307) (#7310) * Disable input in edit data source when data_source.manageableBy is none * Changeset file for PR #7307 created/updated * Removed unnecessary canManageDataSource check * Fix lint issue * Update snapshot --------- (cherry picked from commit ddc26fc) Signed-off-by: Eemi Juntunen <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Description
Disable the input fields on the edit data source form when data_source.manageableBy is set to none. For OpenSearch connections.
Screenshot
No Authentication - data_source.manageableBy: "none"
No Authentication - data_source.manageableBy: "all"
Username and Password Authentication - data_source.manageableBy: "none"
Username and Password Authentication - data_source.manageableBy: "all"
AWS Authentication - data_source.manageableBy: "none"
AWS Authentication - data_source.manageableBy: "all"
Testing the changes
data_source.manageableBy: "none"
Changelog
Check List
yarn test:jest
yarn test:jest_integration