Content
View differences
Updated by Wieland Lindenthal over 3 years ago
* Research the group folder feature of Nextcloud, nextcloud, its usage and limitations
On installation or migration the following logic should be applied
* Check if the installation is "blank" so that we can safely create the missing user, group and group folder.
* Also check if the installation was already complete as it could be that user, Create a group and group folder already correctly exist from an earlier installation. If there is everything in place and correctly setup then reuse the existing ones. The combination of `openproject` belonging to group folder, group user and user is so unique that I believe that it is safe to assume that these objects are there from an earlier installation. `openproject`
* If any of the objects exists, but the setup appears incomplete, don't proceed in creating them. Instead show an error message explaining that there cannot User `openproject` should be a user, group and group folder with the name "OpenProject". The user should either fix the setup manually if she wants to reuse them or rename them.
* In case the it is "blank" then
* Create the group "OpenProject"
* Create the user "OpenProject" and make it group admin of "OpenProject" so that it can manage its group memberships.
* Create the manager of the group folder "OpenProject" and bind it to group "OpenProject". Make the user "OpenProject" have "advanced permissions" to manage access control lists for files and folders.
* Generate an app password for the "OpenProject" user and show it to the Nextcloud admin.
<mention class="mention" data-id="72512" data-type="user" data-text="@Marc Alcobé">@Marc Alcobé</mention> We need to extend the Nextcloud app with another setup step. In that setup step an app password of the "OpenProject" system user is presented for copying it over to the storage settings in OpenProject. So we also need another setup step in OpenProject where the admin can paste that value. The password must be reset-able/regenerate-able in Nextcloud.
On installation or migration the following logic should be applied
* Check if the installation is "blank" so that we can safely create the missing user, group and group folder.
* Also check if the installation was already complete as it could be that user,
* If any of the objects exists, but the setup appears incomplete, don't proceed in creating them. Instead show an error message explaining that there cannot
* In case the it is "blank" then
* Create the group "OpenProject"
* Create the user "OpenProject" and make it group admin of "OpenProject" so that it can manage its group memberships.
* Create the
* Generate an app password for the "OpenProject" user and show it to the Nextcloud admin.
<mention class="mention" data-id="72512" data-type="user" data-text="@Marc Alcobé">@Marc Alcobé</mention> We need to extend the Nextcloud app with another setup step. In that setup step an app password of the "OpenProject" system user is presented for copying it over to the storage settings in OpenProject. So we also need another setup step in OpenProject where the admin can paste that value. The password must be reset-able/regenerate-able in Nextcloud.