Depend on the entity module to re-use its access handler

Created on 2 June 2025, 3 days ago

Problem/Motivation

When listing forum_notifications_subscription entities using views, the user don't have access permission to edit or delete their own forum_notifications_subscription.

Steps to reproduce

Create a view of forum_notifications_subscription entity then add operation links field. Log in as non admin and subscribe to a couple of forums. Once this user visit the view with the operations field on it, they won't be able to see the update/edit or delete operation links field.

Proposed resolution

If we depend on the entity module to re-use its access handler and permission provider. This will allow users subscribing to forum for notification to be able to edit or delete the forum_notifications_subscription entity.

Remaining tasks

MR

User interface changes

In the permissions page now the admin would be able to assign the proper permissions to the user roles so that they can perform the needed task on the forum_notifications_subscription entity.

API changes

Access handler and permissions provider

Data model changes

N/A

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada nikathone Ontario

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024