Content
View differences
Updated by Dominic Bräunlein over 2 years ago
**As** a project administrator
**I want to** get nudged to pass the OAuth flow once I activate a storage on a project and I don't have a access token for that storage, yet
**so that** the background job has a chance to setup the project folder for that user and the project admin gets the feedback that everything is setup and working.
**Acceptance criteria**
* After activating (on create) a storage on project (any mode) the next view has a modal asking politely if the user also wants to pass the OAuth flow.
* The default button is "yes" -> will redirect to the OAuth pages of the storage provider and finally end up in the same destination URL
* The destination URL is the index page of all activated storages of the project Example: [https://qa.openproject-edge.com/projects/test-project-with-jonas/settings/project\_storages](https://qa.openproject-edge.com/projects/test-project-with-jonas/settings/project_storages)
* If the user grants access successfully then a success state is shown on the modal
* If there is an error, then a failure state is shown on the modal
* If the user denies access, then a failure state is shown on the modal
* If the user waits too long without granting/declining access- the modal is left in waiting state- no action is taken.
* On "Not now" the user will directly sent to the destination URL.
**Figma and design**
**Note for QA:** The figma files have outdated wording. The updated wording can be seen in [this PR](https://github.com/opf/openproject/pull/14738).
After setup modal: [https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/File-Storages-Integration?type=design&node-id=7001-23624&mode=design](https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/File-Storages-Integration?type=design&node-id=7001-23624&mode=design)
Confirmation modal: https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/File-Storages-Integration?type=design&node-id=7115-26059&mode=design&t=m74o1WNSiO3gJ7mn-4
**I want to** get nudged to pass the OAuth flow once I activate a storage on a project and I don't have a access token for that storage, yet
**so that** the background job has a chance to setup the project folder for that user and the project admin gets the feedback that everything is setup and working.
**Acceptance criteria**
* After activating (on create) a storage on project (any mode) the next view has a modal asking politely if the user also wants to pass the OAuth flow.
* The default button is "yes" -> will redirect to the OAuth pages of the storage provider and finally end up in the same destination URL
* The destination URL is the index page of all activated storages of the project Example: [https://qa.openproject-edge.com/projects/test-project-with-jonas/settings/project\_storages](https://qa.openproject-edge.com/projects/test-project-with-jonas/settings/project_storages)
* If the user grants access successfully then a success state is shown on the modal
* If there is an error, then a failure state is shown on the modal
* If the user denies access, then a failure state is shown on the modal
* If the user waits too long without granting/declining access- the modal is left in waiting state- no action is taken.
* On "Not now" the user will directly sent to the destination URL.
**Figma and design**
**Note for QA:** The figma files have outdated wording. The updated wording can be seen in [this PR](https://github.com/opf/openproject/pull/14738).
After setup modal: [https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/File-Storages-Integration?type=design&node-id=7001-23624&mode=design](https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/File-Storages-Integration?type=design&node-id=7001-23624&mode=design)
Confirmation modal: https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/File-Storages-Integration?type=design&node-id=7115-26059&mode=design&t=m74o1WNSiO3gJ7mn-4