Permissions for non-admin role does not work properly

Created on 3 January 2023, about 2 years ago
Updated 11 July 2023, over 1 year ago

Problem/Motivation

I have a view of comments where I want to allow authentificated users to delete their own comments. I tried to add "delete comment link" field and it works for admin but for basic authentificated user it is blank.

When I try to open the link (/comment/28/delete?destination=/views/ajax) for authentificated user, which is also author of this comment I get "Access denied" message, even when setting permission "Delete own comments", "Delete own comments anytime" or dedicated permissions for those comment types for auth user. I even tried to add "Delete any comment" or "Delete any comment anytime" for authentificated user with no luck, link is still not there / not working.

I have also set up the deletion method on node type settings but it also did not show the delete button or get the delete link working for authentificated user.

Steps to reproduce

I do not have anything special, the whole website is a simple view of nodes and comments. But I have ajax comments module enabled.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇸🇰Slovakia lubwn

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024