-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
UI - kv v2 graceful degrade #5879
Conversation
@@ -181,19 +181,21 @@ export default Component.extend(FocusOnInsertMixin, { | |||
// successCallback is called in the context of the component | |||
persistKey(successCallback) { | |||
let secret = this.model; | |||
let model = this.modelForData; | |||
let secretData = this.modelForData; |
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.
omg thank you for making this less ambiguous!
bc72012
to
5bcd115
Compare
This only covers editing when not being able to read the metadata - you still need access to read the data before you can edit. We'll be adding write-only support for data in the near future as well as read/write for metadata when you don't have read on the data. |
// , I look forward to testing it, thanks for the fast response, Mr. Irish. |
Currently you need to be able to edit metadata as well as data in the kv v2 for the UI to work. This changes that so that if you don't have access to metadata, you can still edit the data.
Fixes #5840