Content
View differences
Updated by Kabiru Mwenja 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 (pending design: simple check mark, with success message)
* 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 send to the destination URL.
**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 (pending design: simple check mark, with success message)
* 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