Open hamza221 opened 8 months ago
Hello @Fenn-CS, please take a look 🙏 This is a "mild" case of data loss, but data loss nevertheless and we should fix it soon
This is indeed how this works but I am not sure if it ca be classified as a case of data loss. Google drive handles this by warning on moves where there are shares.
Currently users can prevent this by setting custom permissions and unchecking the delete permission. This means that if the delete permission is removed "moves" currently fail, ungracefully so.
Next steps:
Just like we have "Allow downloads" under advanced permissions we could add some new property like "Allow moves" or something and then make sure that delete is disambiguated from move because currently the system seems to handle moves as deletes in this scenario (and it is technically a delete for the original file owner).
Hello @jancborchardt what do you think?
@Fenn-CS a warning sounds very good here!
This was actually also a customer request and @nimishavijay proposed to add a notice in the file picker modal rather than another modal on top: https://github.com/nextcloud-gmbh/customer-feature-requests/issues/406#issuecomment-1523502575
The file picker will have the message
Moving a file or folder out of a shared folder will unshare it from the group of people.
in an info box above the buttons, something like this:The buttons itself will be the same :)
Would that be doable @Fenn-CS?
⚠️ This issue respects the following points: ⚠️
Bug description
When a user moves a shared subfolder, the owner looses access to that subfolder
Steps to reproduce
Expected behavior
Bob can still see and access "Subfolder"
Installation method
Community Docker image
Nextcloud Server version
27
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response