Content
View differences
Updated by Dominic Bräunlein almost 2 years ago
**As** a admin responsible for storages _user_
**I want to** be _be able to enable storage for multiple project at once once_
**so that** I _I do not need to enable storage for each project one by one one_
**Acceptance criteria**
* **Navigation**
* A "Enabled in projects"-tab is added to the edit "Show" storage view
should be replaced by "edit" view.
* The current "Edit" view is in a tab called "Details"
should have "Projects" tab.
* The "Enabled in projects"-tab "Projects" tab should look and the "Details"-tab have it's own URL
behave like other similar tabs.
* **Project list**
* "Enabled in projects"-tab Enabling multiple projects should list all the projects that the enable appropriate module and 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 every project. The texts displayed in that column are:
* "No specific folder"
* "Automatically managed"
* "Existing folder manually managed"
* Each row in that list has Disabling of a menu on the right side.
* There is projects should trigger a "Remove project"-button for every project
warning dialog
* There is After creating a "Edit project folder"-button.
* OneDrive/SharePoint storages that have AMPF activated do not have this option as storage the user can not change any settings. and the button should not be shown in that case.
* For all other storages there should forwarded to the edit storage page to be able to see and go to the "Edit project folder"-button displayed
"Enabled in projects" tab.
* **Add dialog** "Add projects"-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 add 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
permissions**"**\-option
* When storage is Nextcloud and AMPF is activated
* Show all three project folder options
* When storage is 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
* If the user has not finished the OAuth flow, a button to login is shown.
* After the OAuth flow the user is redirected back to the "Enabled in projects" tab
* **Removing a project**
* Disabling of a 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.
permissions**"**\-option
###
**Figma Design**
https://www.figma.com/design/6RzNWrc8jpqhE7jpaCXsGB/Multi-project-selector?node-id=691-18178&t=YokUWIqu3skhOYCz-0
**I want to** be
**so that** I
**Acceptance criteria**
* **Navigation**
* A "Enabled in projects"-tab is added to the edit
* "Enabled in projects"-tab
* 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
* "Automatically managed"
* "Existing folder manually managed"
* Each row in that list has
* There is
* OneDrive/SharePoint storages that have AMPF activated do not have this option as
* For all other storages there should
* 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
* All
* Selecting "Existing folder with manually managed permissions" should show a folder picker and the currently selected folder name
* If the user has not finished the OAuth flow, a button to login is shown.
* After the OAuth flow the user is redirected back to the "Enabled in projects" tab
* **Removing a project**
* Disabling of a 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