wiki
wiki copied to clipboard
Extraneous "You are not authorized to access this resource" message
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:
- Create a user group with all permissions except for
manage:system - Add a user to the group
- Sign in with the user
- Click
-> Administration - Observe red message flashed
Expected behavior This message does not appear
Screenshots

Host Info (please complete the following information):
- OS: Docker
- Wiki.js version: 2.2.51
- Database engine: PostgreSQL 11
have not been solved? @NGPixel
have not been solved? @NGPixel
It appears a fix is waiting as a pull request but hasn't been approved yet by @NGPixel
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.
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.