Fresh setup leads to Unauthorized #7723
Unanswered
Starstruckk
asked this question in
Error / Bug Report
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Summary
After a fresh install of Wiki.js v2.5.307, administrative users are unable to access pages - receiving:
“Unauthorized You cannot view this page”, even though the account is correctly flagged as an administrator in the database.Granting admin rights to the guest account restores access for all users.
Environment
Steps to Reproduce
Actual Behavior
Workaround:
Expected Behavior
Logs & Screenshots
No warnings or errors in the logs during the initial setup nor before/after changing guest user's privileges.
Directly after I create my credentials during the setup page and then trying to access homepage / administration page:

users table where I can see that my email has been created, with name

Administrator:userGroups table where I can see that my userId (1) has been granted the Administrator privilege:


changing guest userId (2) to groupId 1 (from guests permissions to admin)

grants me access to the wikijs UI:

Please let me know if you need any more details.
All reactions