Skip to content

NotificationEvents should only be created if user has permissions to access the related entity #117

@sleidig

Description

@sleidig

With different user roles, we see scenarios where the system creates notification events about an entity that the user does not have access to. The notification then shows with an empty link/name in the app (and apart from that is useless and irritating). The backend needs to check permissions and skip events that related to entities that are not accessible.

This means the Config:Permissions doc has to be tracked and parsed in the backend also. It should use a similar approach to the replication-backend service.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions