"create new page” icon not showing for users with create permissions (OAuth2 + SQLite setup) #7837
Unanswered
apenadiazApk
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.
-
Hi,
I’m using Wiki.js through a Docker container with the latest version 2.5.308, using SQLite as the database and OAuth2 / OpenID Connect for authentication.
The issue I’m facing is that even though the permission rules are correctly configured (users have all the required permissions), the “Create new page” icon does not appear.
According to the documentation, it’s possible to manually create a new page by entering the URL directly, but that’s quite inconvenient. Ideally, the “create” option should appear in the search results when a page doesn’t exist, or the “Create new page” icon should be visible to users who have the proper permissions.
The only way the icon shows up right now is if I add the user to the admin group — but not all users should have admin rights.
I test many browser, cleaning cache and nothing works it's definitly some kind of showup the icon when use oauth2, if I use the local user database, the permissions works fine.
Is there a way to make this work with OAuth2, maybe by defining a specific URL pattern or rule (e.g., using a regex or a permission override)?
i test it with edit option hoping to show up here but not work either
this is putting the openiad oidc user in the administrator group wich is not cool
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions