# Feature OP-9191 - Allow announcement feature to create an in-app notification

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

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| 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

# Option A: Enhance the News module and replace the announcement feature

## Use case 1: Global announcement

**As** a global OpenProject Admin (or a user with the necessary global permission)  
**I want to** publish announcements/news to all users  
**so that** I can easily inform them about informations like:

  - Downtimes
  - New features
  - Changes in the configuration
  - Process-related changes

**Acceptance criteria**

Currently news always belong to a project. We need to extend the existing news feature adding the capability to create news on a global level:

  - Build a global permission that can be added to a global role.
  - Add a create button to the [global news view](https://community.openproject.org/news).
  - Add configuration options:
      - Show news on login screen for anonymous user.
      - Show news for anonymous user vs. for logged in users.
      - Show news only for a limited time period.
      - Disable comments on a specific news.
  - For every news a notification is created.
  - A news is journalized (already implemented)
  - After changing a news (e.g. correcting a typo) no new notification is created.
      - **Remark** this is different from how we handle changed to e.g. the work package description where altering the description will always result in a new notification.
  - The subject is shown as a notification row in the main part of the notification centre.
  - The news' text is shown in the split view.
  - It is possible to have two global news on the login screen at the same time.

## Use case 2: Project announcement

**As** a project admin/project manager  
**I want to** publish announcements/news to my project team  
**so that** I can easily inform them about informations like.

  - New project team member.
  - Changes to the scope or the schedule of the project.
  - Changes to the process.
  - ....

**Acceptance criteria**

  - Project announcements create a notification for all project members.

# Option B: Enhance the Announcement feature

The existing [announcement feature](https://www.openproject.org/docs/system-admin-guide/announcement/) is extended to create notifications for each announcement.

  - An announcement has also a subject (currently an announcement is one text box only).
  - For each change of an announcement a notification is created.
      - Announcements are journalized
      - **Open** is the creation of a new notification prevented upon fixing a typo (see Use case 1 above)
  - The subject is shown as a notification row in the main part of the notification centre.
  - The announcement description is shown in the split view.
