Content
View differences
Updated by Dominic Bräunlein about 2 years ago
**As** an OpenProject user using OneDrive/SharePoint as file storage
**I want to** distinct between file links that were deleted and file links I don't have permissions to view view
**so that** I can inform an admin to grant me access to the file on OneDrive/SharePoint.
##### **Acceptance criteria**
* When a user has no access to a file on the OneDrive/SharePoint storage the same message as for Nextcloud storages should be displayed: "**You have no permission to see this file**"
**Current Situation**
Currently for OneDrive/SharePoint storages, the user sees the message: **"This file cannot be found"** when the file was deleted or the user has no permission.
\---
_Technical notes: This will need two requests to the storage. One request within the user context to identify what files the user has access to and one with admin access, to see what files exist._
_The difference of both requests would be the files that we disable the corresponding file links and show information that the user has no permission._
_Needs: ###51713_
####
**I want to** distinct between file links that were deleted and file links I don't have permissions to view
**so that** I can inform an admin to grant me access to the file on OneDrive/SharePoint.
##### **Acceptance criteria**
* When a user has no access to a file on the OneDrive/SharePoint storage the same message as for Nextcloud storages should be displayed: "**You have no permission to see this file**"
**Current Situation**
Currently for OneDrive/SharePoint storages, the user sees the message: **"This file cannot be found"** when the file was deleted or the user has no permission.
\---
_Technical notes: This will need two requests to the storage. One request within the user context to identify what files the user has access to and one with admin access, to see what files exist._
_The difference of both requests would be the files that we disable the corresponding file links and show information that the user has no permission._
_Needs: ###51713_
####