Content
View differences
Updated by Marc Alcobé over 3 years ago
**As** a **project member** (includes all roles)
**I want to** work with a full automatically managed _project folder_
**so that** no manual tasks are needed to keep it operational at all time.
## **Acceptance criteria**
* [ ] The system must detect all errors for the _project folder._
* [ ] The system must repair all occurring errors automatically.
* [ ] New **project members** are automatically inserted into groups.
* [ ] When a **project member** is removed from a project they loose all permissions on the _project folder_.
* [ ] In order to allow this automation, an extra step of both Nextcloud and OpenProject setup will be added in order to copy the app system user password from OpenProject to Nextcloud. (see visuals)
* [ ] As the setup steps are now 4 the action on the button of the step 3 also changes. (see visuals)
* [ ] The user should be able to reset this password once all the process is completed. (see visual)
## Hints:
* Most probably this can only be achieved by having a storage provider that has a flexible enough API (e.g. Nextcloud).
* Consider debounce for reducing queue size for permission syncing task.
## Additional Information:
Triggers:
* Groups
* Add user to group
* Removing user from group
* Project member
* User becomes member of a project
* Group becomes member of a project
* Removing project memberships (user and group)
* Roles
* Created
* Deleted
* Edited
* Project
* Activate a storage on a project
* Deactivate a storage on a project
* Storage
* Remove storage from OpenProject (before delete hook)
ToDo: move these out to a new WP
* Map Nextcloud permissions to OpenProject
* Check for defaults for permissions
## Visuals
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/51838/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/51836/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/51837/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/51839/content">
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/51841/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/51834/content">
## Figma
https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/Nextcloud-Integration?node-id=3522%3A98053
**I want to** work with a full automatically managed _project folder_
**so that** no manual tasks are needed to keep it operational at all time.
## **Acceptance criteria**
* [ ] The system must detect all errors for the _project folder._
* [ ] The system must repair all occurring errors automatically.
* [ ] New **project members** are automatically inserted into groups.
* [ ] When a **project member** is removed from a project they loose all permissions on the _project folder_.
* [ ] In order to allow this automation, an extra step of both Nextcloud and OpenProject setup will be added in order to copy the app system user password from OpenProject to Nextcloud. (see visuals)
* [ ] As the setup steps are now 4 the action on the button of the step 3 also changes. (see visuals)
* [ ] The user should be able to reset this password once all the process is completed. (see visual)
## Hints:
* Most probably this can only be achieved by having a storage provider that has a flexible enough API (e.g. Nextcloud).
* Consider debounce for reducing queue size for permission syncing task.
## Additional Information:
Triggers:
* Groups
* Add user to group
* Removing user from group
* Project member
* User becomes member of a project
* Group becomes member of a project
* Removing project memberships (user and group)
* Roles
* Created
* Deleted
* Edited
* Project
* Activate a storage on a project
* Deactivate a storage on a project
* Storage
* Remove storage from OpenProject (before delete hook)
ToDo: move these out to a new WP
* Map Nextcloud permissions to OpenProject
* Check for defaults for permissions
## Visuals
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/51838/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/51836/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/51837/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/51839/content">
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/51841/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/51834/content">
## Figma
https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/Nextcloud-Integration?node-id=3522%3A98053