Restrict access to danse_user_notifications view

Created on 21 August 2024, 3 months ago
Updated 10 September 2024, 2 months ago

Problem/Motivation

By default, non-admin users cannot see the notifications lists of other view, but they can still see the empty notifications view. And as far as I can tell, the notifications tab still appears on the other user's profile.

Steps to reproduce

Install, login as a non-privileged user, and go to another users profile (/user/NNNN). Or go directly to the other user's notifications view (/user/NNNN/notifications).

Proposed resolution

Per @jurgenhaas on Slack (https://drupal.slack.com/archives/C01KRB0TD6K/p1724126402352779): "However, we could define a route for danse.notifications similarely to danse.subscriptions, but then we should also use that for the XML feed of the notifications."

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rclemings

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