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 move function on shared folder, if target is out of scope of shared root folder #40881
Comments
any news on this? Will it be added to the roadmap? I think this is an essential feature we need to have! |
Short Update: just updated my test server from 27.1.4 to latest 28.0.0 and the result is: Vue.js is faster = nice, but (as expected) also bringing back old bugs....same problem as with 27.1.4...i'll fix it again by my self. Further thanks for a not working upgrade progress (neither by webui or occ upgrade) from 27.1.4 to 28.0.0, never see such a way to upgrade, what a nightmare, sorry but that rly bad. |
Intresting behavior by testing my old way to fix, i change the filelist.js with my fixed edition, and spooki things happening
|
@GoWeasel can you share GIT link of your solution, i am also facing similar problem |
i'll prepare it after testing on latest update, as the problem is old, i need to re-check it first, in new version. |
I need that for non productive usage, doing some POC, so need it for a quick turnaround, share me even no tested version, will help me to draw some inspiration , sorry for pushing 😁😁😁😁😁 |
As expected, just tested on NC 28.04, and something changed, does not work any more 👎 |
thanks @GoWeasel for your support, let me try this, at least i have something to start with. thanks a ton for your quick help and response |
this function is as basic as essential - still do not understand, why this is not part of nextcloud. |
How to use GitHub
Is your feature request related to a problem? Please describe.
Example usecase:
You have a shared folder [Team 1] for 5 people,
and everybody should be able to edit/rename/update/delete on all files in this share.
The share further is not syncable (protected by hidden-Tag and "file access control")
Then u have a further shared folder [Team 2] for 3 people,
and also everybody should be able to edit/rename/update/delete on all files in this share.
The share further is not syncable (protected by hidden-Tag and "file access control")
Further all 8 people also have their own folders in user space (unlimted)
Then u got a problem with the "moveFileFunction", as everbybody is able to move files from shared folder to his own root folder (in user space) or to a subfolder (in user space). Then further from his user space, he can do everything, also sync!, what is in upper usecase not allowed.
Actually i found no way to protect it, also tried things like "File access control" and "Group folders".
Describe the solution you'd like
Describe alternatives you've considered
Additional context
Here some examples:
Example of allowed moving files:
i am at → /EXT_Storage_Local/ and try to move the New text file.md to → /EXT_Storage_Local/sub1/sub2/sub3
Example of forbidden moving files:
i am at → /EXT_Storage_Local/ and try to move the New text file.md to → /GroupFolder_Elektro
as you can see on image, move operation fails and gives user a message as this move lays not in the allowed RootPath.
Further i found the same problem on different topics also in the NC Community Forum
https://help.nextcloud.com/t/shared-disable-move-copy-option/45997
https://help.nextcloud.com/t/prevent-copying-moving-of-files/50307
https://help.nextcloud.com/t/how-to-prevent-accidentally-moving-folders/83808
Setup:
Debian 12 with NC 27.1.2
The text was updated successfully, but these errors were encountered: