nextcloud / server

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

Filter by current file owner #38185

Open andreas93j opened 3 years ago

andreas93j commented 3 years ago

I'd like to create a workflow for the following use-case: you create a tag "private" for a file - that file can't be accessed via shared links or internal nextcloud shares.

Rules are only applied when tag equals "private". Currently I handle shared links with user groups --> if not usergroup "user" then fileaccess not allowed

But this won't work for internal shares. E.g. you share a folder with a nextcloud member and have some files marked as private - they can see them.

Of course you can create granular user groups.

But I think it would be way more handy to have a filter for the owner of the file. (Is owner yes/no)

Best wishes from Austria Andreas

nickvergessen commented 1 year ago

This should be done in the workflow engine as files access control is not in charge of the checks/rules but only the operation.