Hi there,
first off: thanks for such a great open source software!
I set up Nextcloud for a small-sized organization (< 100 members) in such a way that Nextcloud is used for collaborative work. In particular, there are a few groups and generally (for most files and folders) users should have equal rights to see all the folders and files other users uploaded. The content itself was migrated from Dropbox and consists of a high number of files and folders.
In order to make everybody see and edit (i.e. move, delete, edit) everything, I was wondering what would be the best approach. I identified two: 1) Set up group folders via the admin settings or 2) for every folder in the root directory click on share and add the respective groups.
Option one using group folders is impractical as I would have to remove the entire content from Nextcloud first, manually create group folders for each of the existing folders and upload the content again. This is because, if one creates a group folder with the same name of an existing folder with content, the content will be gone.
Thus, I am currently using the second option. The problem with this is that it doesn’t come with appropriate access controls. I.e. although a folder is shared all other users (which are not users) can neither delete nor move the folder or files that they do not own.
My ideal situation would be this: Once a file is uploaded it inherits default sharing properties, which are defined by admins. As a consequence, the ownership is transferred to those groups which are part of the set of shared groups if this file / folder. I am not sure whether this requirement can be scripted using OCC where one would set up a cron job to let occ periodically run and transfer ownership to those groups, which are defined in the file’s / folder’s shared settings.
Am I missing something, are there better approaches?
Thanks in advance!