Only limiting write permissions to certain paths? #3410
Unanswered
peteruithoven
asked this question in
Help / Questions
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
I'd like to create a company wiki where all members of the group Users can view and edit all pages except for certain paths where I only want one group to edit it. For example
/ops/...
should only be editable by members of the Ops group.What I've done so far:
Group Users has all global content permissions.
It has these same permissions for paths that starts with
/
But I've denied all the write related permissions for paths that start with
/ops
Group Ops has all the same global content permissions.
And it has page rules that allow write related permissions for paths that start with
/ops
But if I understand the Users, Groups & Permissions docs correctly the deny will always win when the rules have the same specificity?
So what's the best permissions setup approach for this usecase?
It might also be a good extra example for the documentation?
Host Info (please complete the following information):
OS: Docker Container (Linux)
Wiki.js version: 2.4.107
Database engine: [e.g. postgres 9.7, mysql 5.7]
PostgreSQL: 11.6
Beta Was this translation helpful? Give feedback.
All reactions