# Feature OP-8176 - Backend: Send notification on adding a user to a project

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

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 11.3.0 |
| Sprint | 11.3.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 |  |
| 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** a project admin  
**I want to** send a notification to a user newly added to a project  
**so that** the user is aware of her/his role in the project.

**Acceptance criteria**

  - A user added to a project receives a default notification. e.g. "User abc added you as a developer to the project 'xyz'. Follow this link to see the project."
  - A user who is assigned additional roles receives a notification. e.g. "User abc updated the list of roles you have in the project 'xyz'. You are now developer and project manager. Follow this link to see the project."
  - API-Endpoints for creating and updating memberships take a custom message on membership creation and editing. 
  - The default notification includes the custom message provided via the API.
  - The notifications can be turned off in the administration (Administration -\> Email -\> Email notifications)

**Out of scope**

  - The custom message does not have to be persisted.
  - When adding a member/assigning roles via the members list no custom message can be provided. The default message is send out in any case.
  - No webhook request is posted upon creation or updating of members.
  - No notification is sent in case the user is removed from the project altogether.
