requarks / wiki

Wiki.js | A modern and powerful wiki app built on Node.js
https://js.wiki
GNU Affero General Public License v3.0
24.25k stars 2.68k forks source link

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

Open eeshugerman opened 4 years ago

eeshugerman commented 4 years ago

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):

Rainshaw commented 3 years ago

have not been solved? @NGPixel

nasiralamreeki commented 3 years ago

have not been solved? @NGPixel

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

jsarnowski96 commented 2 years ago

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.

jsarola commented 1 year ago

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.