Content
View differences
Updated by Dominic Bräunlein almost 2 years ago
**As** a admin responsible for storages
**I want to** be able to enable storage for multiple project at once
**so that** I do not need to enable storage for each project one by one
**Acceptance criteria**
* **Navigation**
* A "Enabled in projects"-tab is added to the edit storage view
* The current view is in a tab called "Details"
* The "Enabled in projects"-tab and the "Details"-tab have it's own URL
* **Project list**
* "Enabled in projects"-tab should list all the projects that the storage is activated in. (including archived projects)
* There is an additional column called "PROJECT FOLDER TYPE" in the project list. It shows the current "Project folder" setting of the storage for this project. The texts displayed in that column are:
* "No specific folder"
* "Automatically managed"
* "Existing folder manually managed"
* Each row in that list has a menu on the right side.
* There is a "Remove project"-button for every project
* There is a "Edit project folder"-button.
* OneDrive/SharePoint storages that have AMPF activated do not have this option as the user can not change any settings. and the button should not be shown in that case.
* For all other storages there should be the "Edit project folder"-button displayed
* **Add dialog**
* Enabling multiple projects should enable the storage for every selected project.
* Already added projects should be displayed deactivated
* Project folder variations
* When storage is OneDrive/SharePoint and AMPF is activated
* Show no "Project folder"-options and show a short message
* All projects will be added with AMPF AMPF
* When storage is OneDrive/SharePoint and AMPF is not activated
* Show "No specific folder" and "Existing folder with manually managed permissions"-options
* When storage is Nextcloud and AMPF is activated
* Show all three project folder options
* When storage is Nextcloud OneDrive/SharePoint and AMPF is not activated
* Show "No specific folder" and "Existing folder with manually managed permissions"-option
* Selecting "Existing folder with manually managed permissions" should show a folder picker and the currently selected folder name
* Clicking on "Select folder" opens file picker
* ~~If If the user has not finished the OAuth flow, a button to login is shown.~~ shown.
* ~~After After the OAuth flow the user is redirected back to the "Enabled in projects" tab~~
tab
* _OAuth flow triggers need to be defined (TBD Dominic)_
* **Removing a project**
* Disabling of a project projects should trigger a warning dialog and remove the storage from the project
* After creating a storage the user should be forwarded to the edit storage page to be able to see and go to the "Enabled in projects" tab.
###
**Figma Design**
https://www.figma.com/design/6RzNWrc8jpqhE7jpaCXsGB/Multi-project-selector?node-id=691-18178&t=YokUWIqu3skhOYCz-0
**I want to** be able to enable storage for multiple project at once
**so that** I do not need to enable storage for each project one by one
**Acceptance criteria**
* **Navigation**
* A "Enabled in projects"-tab is added to the edit storage view
* The current view is in a tab called "Details"
* The "Enabled in projects"-tab and the "Details"-tab have it's own URL
* "Enabled in projects"-tab should list all the projects that the storage is activated in. (including archived projects)
* There is an additional column called "PROJECT FOLDER TYPE" in the project list. It shows the current "Project folder" setting of the storage for this project. The texts displayed in that column are:
* "No specific folder"
* "Automatically managed"
* "Existing folder manually managed"
* Each row in that list has a menu on the right side.
* There is a "Remove project"-button for every project
* There is a "Edit project folder"-button.
* OneDrive/SharePoint storages that have AMPF activated do not have this option as the user can not change any settings. and the button should not be shown in that case.
* For all other storages there should be the "Edit project folder"-button displayed
* **Add dialog**
* Enabling multiple projects should enable the storage for every selected project.
* Already added projects should be displayed deactivated
* Project folder variations
* When storage is OneDrive/SharePoint and AMPF is activated
* Show no "Project folder"-options and show a short message
* All projects will be added with AMPF
* When storage is OneDrive/SharePoint and AMPF is not activated
* Show "No specific folder" and "Existing folder with manually managed permissions"-options
* When storage is Nextcloud and AMPF is activated
* Show all three project folder options
* When storage is Nextcloud
* Show "No specific folder" and "Existing folder with manually managed permissions"-option
* Selecting "Existing folder with manually managed permissions" should show a folder picker and the currently selected folder name
* ~~If
* ~~After
* **Removing a project**
* Disabling of a project
**Figma Design**
https://www.figma.com/design/6RzNWrc8jpqhE7jpaCXsGB/Multi-project-selector?node-id=691-18178&t=YokUWIqu3skhOYCz-0