You right… My mistake, as per https://docs.nextcloud.com/server/16/admin_manual/file_workflows/access_control.html#denied-access
If access to a file has been denied for a user, the user can not:
Create/upload the file
Modify the files
Delete the file
Download the file
Syncronise the file with clients, such as the Nextcloud desktop and mobile clients
I did following in this case.
- Create robot user e.g.
- Share this folder with
robo1 create share link with allow upload and editing.
In this case if user will try to delete something it will be forbidden by rule from point 2.
This is not protect you from the changes, e.g. user can edit file and simply delete the content of the file, you could avoid it via unset
edit permission from the
P.S. There is a ticket to this functionality that you need: