# Bug OP-14934 - User receives email updates even if their account is permanently locked

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.0.1 |
| Observed in versions | 14.0.0 |
| Sprint | 14.0.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 14.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Oliver Günther |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

User A is an admin  
User B is a user with permissions to view/watch/edit wikis, and it has notifications on for wiki updates

1.  Login as a user A&nbsp;
    
2.  Create a wiki
    
3.  Login as user B
    
4.  Go to my account, check &quot;Wiki page updated&quot; under Mail notifications
    
5.  Set user B as watcher of created wiki
    
6.  As user A, go to the account of user B and click on `Permanently lock`
    
7.  As user A, update the created wiki
    

### What is the buggy behavior?

*   User B receives an email that the wiki was updated
    

### What is the expected behavior?

1.  User B should not receive any emails after their account is permanently locked
    

### Environment information

**OpenProject version**

_14.0.0_

**Browser**

*   [ ] Chrome
*   [x] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)
