# Feature OP-14051 - Add "no permission" message to file links using OneDrive/SharePoint  

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-14051

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 14.1.0 |
| Sprint | 14.1.0 |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Dominic Bräunlein |
| Product manager |  |
| Developers | OP Dev Titan Team |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**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   
**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.*

####
