- 🇺🇸United States smustgrave
Don't know if they're related but does 🐛 Access check fails on user profile page Fixed solve this by chance?
- Status changed to Postponed: needs info
over 1 year ago 11:32pm 25 March 2023 - Status changed to Active
over 1 year ago 2:24pm 8 August 2023 - 🇺🇸United States bluegeek9
I think I ran into the same problem. My users have reported the link to the moderation dashboard takes them to the wrong page. I had trouble reproducing the issue, but I say a user experiencing the problem.
I believe it is a problem with the cache. The users having the issue all have the same permissions.
'#cache' => [ 'contexts' => ['user.permissions'], ]
I think this will fix the problem; every user has a different user id. I will report back what I find.
'#cache' => [ 'contexts' => ['user'], ]
- last update
over 1 year ago 14 pass - Status changed to Needs review
over 1 year ago 6:11pm 17 August 2023 - Open on Drupal.org →Core: 10.0.7 + Environment: PHP 8.1 & MySQL 5.7last update
over 1 year ago Waiting for branch to pass - @bluegeek9 opened merge request.
- 🇮🇳India sahil.goyal
I masqueraded as a different user and attempted to access the Moderation Dashboard. I noticed that it correctly directed me to the appropriate URL and displayed the correct user's information. I did not encounter any "Permission denied" errors during this process.
For example, when I masqueraded as user/2 and clicked on the Moderation Dashboard link, I was redirected to the URL /user/2/moderation-dashboard
. I conducted these tests using the Moderation Dashboard version 2.1.1 in Drupal version 10.1.x-dev.
Based on my observations, it seems that the reported issue is not reproducible with the given configuration and steps.
If encounter any specific scenarios or steps that consistently lead to the "Permission denied" error, please provide additional details. -
bluegeek9 →
authored 0b4f63d6 on 2.0.x
Issue #3331940 by Shani Maurya: URL gets random user id after user is...
-
bluegeek9 →
authored 0b4f63d6 on 2.0.x
- Status changed to Fixed
over 1 year ago 10:27pm 22 August 2023 Automatically closed - issue fixed for 2 weeks with no activity.