wiki icon indicating copy to clipboard operation
wiki copied to clipboard

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

Open eeshugerman opened this issue 5 years ago • 5 comments

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

eeshugerman avatar Apr 08 '20 02:04 eeshugerman

have not been solved? @NGPixel

Rainshaw avatar Mar 31 '21 04:03 Rainshaw

have not been solved? @NGPixel

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

nasiralamreeki avatar Aug 02 '21 20:08 nasiralamreeki

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 avatar Oct 08 '21 12:10 jsarnowski96

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 avatar Apr 21 '23 11:04 jsarola