owncloud / owncloud/ocis

No email notification for `Space disabled` and `Space deleted` event

Open
#11,065 1 comment 0 reactions 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## Describe the bug
Currently, email notification for `Space disabled` and `Space deleted` events is not implemented. So, there's no email notification when a shared space is disabled and deleted. And we currently don't know if it will be implemented or not in the near future.

![Image](https://github.com/user-attachments/assets/4945c38a-b642-497e-b123-40aa50a4e2b3)

## Steps to reproduce
1. Run the server with email service [mailpit](https://owncloud.dev/ocis/development/testing/#running-test-suite-with-email-service-email).
2. As user `demo` who is a space admin, create a space `toShare` and share it to user `alex`.
3. As user `demo`, disable the space `toShare`
4. As user `demo`, delete the space `toShare`
5. Check emails for `alex` in mailpit.

## Expected behavior
Expected to get email notifications related to `Space disabled` and `Space deleted` ❓

## Actual behavior
Only one email related to space shared is available.
`demo has invited you to join "toShare".`

https://github.com/user-attachments/assets/fe03aec8-aac8-40ef-b3c0-3f49fa69855b

## Setup
``` Console
OCIS_LOG_LEVEL=debug OCIS_ADD_RUN_SERVICES=notifications \
NOTIFICATIONS_SMTP_HOST=localhost \
NOTIFICATIONS_SMTP_PORT=1025 \
FRONTEND_CONFIGURABLE_NOTIFICATIONS=true \
NOTIFICATIONS_SMTP_INSECURE=true \
NOTIFICATIONS_SMTP_SENDER="owncloud " \
PROXY_ENABLE_BASIC_AUTH=true \
IDM_CREATE_DEMO_USERS=true OCIS_INSECURE=true \
FRONTEND_CONFIGURABLE_NOTIFICATIONS=true ./ocis/bin/ocis server

```

``` Console
Infinite Scale 7.1.0-rc.5+c954c9064c Community
ownCloud Web UI 11.3.0
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.