# Feature OP-12412 - Have github integration return error response to webhook if work package is not visible to github user

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-12412

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 1 |
| 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 | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

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

## Description

**As** an OpenProject administration setting up the github integration  
**I want to** see an error response to a delivered webhook if the user cannot access the linked work package  
**so that** I discover that the github user is missing permissions.

**Acceptance criteria**

*   if a work package is linked in a github pull request and the github user cannot see the work package
    *   instead of doing nothing do 
    *   report an error saying that the user cannot see the work package
    *   include a link to our docs explaining the necessary user permissions and that the user has to be member in the project of the linked work package
