Extraneous "You are not authorized to access this resource" message #1287

Open
opened 2026-02-20 15:30:54 -05:00 by deekerman · 5 comments
Owner

Originally created by @eeshugerman on GitHub (Apr 7, 2020).

Originally assigned to: @NGPixel on GitHub.

Describe the bug
"You are not authorized to access this resource" message flashes when non-root admin user loads admin dashboard.

To Reproduce
Steps to reproduce the behavior:

  1. Create a user group with all permissions except for manage:system
  2. Add a user to the group
  3. Sign in with the user
  4. Click -> Administration
  5. Observe red message flashed

Expected behavior
This message does not appear

Screenshots
image

Host Info (please complete the following information):

  • OS: Docker
  • Wiki.js version: 2.2.51
  • Database engine: PostgreSQL 11
Originally created by @eeshugerman on GitHub (Apr 7, 2020). Originally assigned to: @NGPixel on GitHub. **Describe the bug** "You are not authorized to access this resource" message flashes when non-root admin user loads admin dashboard. **To Reproduce** Steps to reproduce the behavior: 1. Create a user group with all permissions except for `manage:system` 2. Add a user to the group 3. Sign in with the user 4. Click <profile icon> -> Administration 5. Observe red message flashed **Expected behavior** This message does not appear **Screenshots** ![image](https://user-images.githubusercontent.com/25518211/78736908-84edce80-790b-11ea-815b-a7f2576e3b2a.png) **Host Info (please complete the following information):** - OS: Docker - Wiki.js version: 2.2.51 - Database engine: PostgreSQL 11
Author
Owner

@Rainshaw commented on GitHub (Mar 31, 2021):

have not been solved? @NGPixel

@Rainshaw commented on GitHub (Mar 31, 2021): have not been solved? @NGPixel
Author
Owner

@nasiralamreeki commented on GitHub (Aug 2, 2021):

have not been solved? @NGPixel

It appears a fix is waiting as a pull request but hasn't been approved yet by @NGPixel

@nasiralamreeki commented on GitHub (Aug 2, 2021): > have not been solved? @NGPixel It appears a fix is waiting as a pull request but hasn't been approved yet by @NGPixel
Author
Owner

@jsarnowski96 commented on GitHub (Oct 8, 2021):

why bother with adding admin user without system privileges? you have a dedicated admin group, so creating another group is pointless unless it's just for the sake of breaking stuff or QA testing.

@jsarnowski96 commented on GitHub (Oct 8, 2021): why bother with adding admin user without system privileges? you have a dedicated admin group, so creating another group is pointless unless it's just for the sake of breaking stuff or QA testing.
Author
Owner

@jsarola commented on GitHub (Apr 21, 2023):

I have the same problem, but my group only can manage pages and users (nothing from administration). What would be desirable is to list the number of pages, users and groups, as well as the wikijs version, without showing the error.

@jsarola commented on GitHub (Apr 21, 2023): I have the same problem, but my group only can manage pages and users (nothing from administration). What would be desirable is to list the number of pages, users and groups, as well as the wikijs version, without showing the error.
Author
Owner

@MDouglasBTS commented on GitHub (Apr 29, 2025):

Hi,
I've not long setup Wiki.js and I'm getting the same issue when navigating to the Dashboard or Navigation pages. However, I can still makes changes to those pages without admin privileges, only with the admin privileges settings I applied to the group. Has this issue been resolved but on another page? I can't find anything that says it has.

@MDouglasBTS commented on GitHub (Apr 29, 2025): Hi, I've not long setup Wiki.js and I'm getting the same issue when navigating to the Dashboard or Navigation pages. However, I can still makes changes to those pages without admin privileges, only with the admin privileges settings I applied to the group. Has this issue been resolved but on another page? I can't find anything that says it has.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wiki#1287
No description provided.