Replies: 1 comment 1 reply
-
@mewalig The connector can tell the client the options for that folder with the Options key for each folder. You can disable the UI-side mkdir command in a particular folder by returning |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is similar to #3211. I would like to designate certain folders such that:
It seems to me that a simple change to enable this would be add an option to handle subfolder creation. For backwards-compatibility, a falsy value would not change the current behavior, and a non-falsy value would prevent subdirectory writes (or possibly provide further granularity).
As an example, if
readonly_subdir
is the new option, then commands/mkdir.js would be changed such that for any x, references tox.write
become(x.write && !x.readonly_subdir)
.Can we create a pull request and get this change made?
Beta Was this translation helpful? Give feedback.
All reactions