Access denied error

Created on 25 February 2024, 4 months ago
Updated 19 March 2024, 3 months ago

Problem/Motivation

Does anyone have this module working? I couldn't get it to work — Access Denied.
Drupal 10.2.3
Private message 3.0.0 Dev / 3.0.0 (tested both versions)
PHP 8.1.27 / 8.2.15 (tested both versions)

Steps to reproduce

  1. Install and enable the module.
  2. Grant the "Use private messaging system" right to the user group.
  3. Log in as a user with the appropriate permission.
  4. Get an "Access Denied" error

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

🇷🇺Russia shevgeny Moscow

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

Comments & Activities

  • Issue created by @shevgeny
  • 🇮🇳India himanshu_jhaloya Mandsaur

    https://www.drupal.org/project/drupal/issues/3257541 Remove AccessDeniedHttpException details from log messages Active

  • Assigned to samit.310@gmail.com
  • Status changed to Needs work 4 months ago
  • Issue was unassigned.
  • Status changed to Needs review 4 months ago
  • 🇮🇳India samit.310@gmail.com

    Hi

    It's looks like you also need to grant View user information(access user profiles) permission, Post Granting that permission you can able to view that /private-message/create page.

  • 🇷🇺Russia shevgeny Moscow

    It's looks like you also need to grant View user information(access user profiles) permission, Post Granting that permission you can able to view that /private-message/create page.

    Yes, you are right. This error is indeed caused by the lack of permissions to view user profiles. However, I was unable to get the module to work. Messages are not being sent (sending by pressing the Enter key does not work, the message window darkens and nothing happens). I assume the module still has too many errors to be used.

  • Status changed to Closed: works as designed 3 months ago
  • 🇨🇦Canada sagesolutions

    There are other tickets related to the window darkening and sending messages now tagged to this ticket.

    For the access denied issue, This is fixed when setting the proper permissions.

Production build 0.69.0 2024