Repository navigation
Conversation
🫣 good catch |
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
Context: IMAP ACL https://datatracker.ietf.org/doc/html/rfc4314.html#section-2.1 A mailbox can have a list of acls. If that's the case (often for shared mailboxes), then we need to check if the mailbox has "i" otherwise we cannot use it as target. |
kesselb
left a comment
There was a problem hiding this comment.
Thanks for taking care 👍
Please add the mailboxHasRights check back.
Signed-off-by: Roberto Guido <info@madbob.org>
Added. And this also replies to my question about Quick Actions: the check about permissions have to be applied also in that context. Or |
Diving into #8726 I stumbled upon
MailboxInlinePicker, the only user of @riophae/vue-treeselect, a not-so-lightweight dependency which did not received any update in the last 7 years.So I rewrote it using the more familiar
NcSelect, which do not permit nested navigation and selection of subfolders. Let you evaluate if this is an acceptable loss.This PR includes:
MailboxInlinePicker, as specified aboveAccountDefaultsSettings, to adapt to the newMailboxInlinePicker, remove most of the duplicated code around, and separate the flags to disable the single inputs while saving (which was the original request of Default folder selection jumps #8726)ActionFileinto, also to be adapted to the newMailboxInlinePickervue-treeselectMy only concern is about the filter on
mailboxHasRights, which has been here removed. It is not entirely clear to me what kind of check was here performed, but if it was required perhaps the same elaboration should be added also to Quick Folders selections (cfr. #13305) and similar folder/subfolder selections.Fixes #8726
Note: if this PR is merged, I recommend to remove then the dependency from
@riophae/vue-treeselectinpackage.json: I avoided to change that myself in order to not mess up withpackage-lock.json