Content
View differences
Updated by Marc Alcobé about 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 select if copy the users want the "Automatically managed folders" active or not. (see visuals)
* [ ] In case the app system user selects to use the "Automatic managed folders" a new step (number 5) will be added to Nextcloud in order to see the application password the admin need from OpenProject to copy to OpenProject. Nextcloud. (see visuals)
* [ ] As the setup steps are now 4 or 5 the action on the button of the step 3 also changes. (see visuals)
* [ ] The user should be able to deactivate the "Automatically managed folders" or reset this password once all the process is completed. (see visual)
## Hints 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 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/52516/content"><img src="/api/v3/attachments/51836/content">
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/52520/content"><img src="/api/v3/attachments/51939/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/52522/content"><img src="/api/v3/attachments/51837/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/52517/content"><img src="/api/v3/attachments/51839/content">
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/52518/content"><img src="/api/v3/attachments/51940/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/52525/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/52528/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/52524/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/52527/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/52519/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/52521/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/52530/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/52526/content"> src="/api/v3/attachments/51834/content">
##
## Figma
https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/Nextcloud-Integration?node-id=3557%3A102571&t=AslZQbmqBNi3drq4-4 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 select if
* [ ] In case the
* [ ] As the setup steps are now 4 or 5 the action on the button of the step 3 also changes. (see visuals)
* [ ] The user should be able to deactivate the "Automatically managed folders" or 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
<img
##
## Figma
https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/Nextcloud-Integration?node-id=3557%3A102571&t=AslZQbmqBNi3drq4-4