nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.17k stars 4.04k forks source link

external storage user access restrictions on file deletion #30495

Closed kavitha271 closed 1 month ago

kavitha271 commented 2 years ago

How to use GitHub

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] yes , I was trying to restrict user access on files in external storage. we want restrict users on deletion of files and only admin can delete files. I was unable to find any settings related to external storage files access.

Describe the solution you'd like A clear and concise description of what you want to happen. Please add more permissions on external storage for users/admin access.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

q-wertz commented 2 years ago

Maybe a workaround:

Create the same share two times, add the groups that are not allowed to delete to the second one and mark the share as Read only image

joshtrichards commented 3 months ago

Related: #14436

joshtrichards commented 1 month ago

Set-up External Storage, then when you set-up the Sharing options for the mount folder, specify Custom permissions and toggle off the Delete option: https://docs.nextcloud.com/server/latest/user_manual/en/files/sharing.html#internal-shares-with-users-and-groups