-
-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ACLs for system-pages #1734
Comments
User Error, ignore comments below, ACLs workAny item with an ACL that denies READ should not be present on any of the above reports. I can reproduce the error when a 1.9 wiki is imported, but not when a wiki created as empty and populated with new items. Editing an item on a wiki created with import19 results in correct behavior (the item is not displayed in the reports). |
I'm not speaking about the items of the pages, but the pages themselves. |
When I try +admin as anonymous user I get a message similar to For the other views maybe we can add configuration options. IMO this cannot be solved with ACL. |
With the above fix all '+admin' views are restricted to a superuser as configured in wikiconfig.py. For the rest of your question, there is no feature to restrict the other views from being displayed. |
Thanks! |
@sebix can we close this issue? |
The fix breaks the user view from the navigation bar. This is available for everybody and uses the view I think this needs some refactoring and redesign. E.g. we can move
into the admin area only visible for an admin with login. Any Ideas? |
imho we should back off the above fix because it breaks the user view. If made a configuration option, I think a minority of wiki admins would restrict itemsize, interwikihelp, and highlighterhelp to superusers. So I would leave these as is until it can be refactored and added as a configuration option. Long ago I considered merging the User view into the Admin view and showing/hiding sections based upon superuser status. This could be superuser status and a configuration option. I would not change the usage of /all, /all/+history and /all/+tags because the output is protected by ACL rules |
backoff change breaking navi bar user view #1734
How can the pages
/+admin/itemsize
/+admin/interwikihelp
/+admin/highlighterhelp
/+wanteds
/all
/all/+history
/all/+tags
be restricted by ACLs? They seem not be part of a namespace and are not restricted by
acl_functions
The text was updated successfully, but these errors were encountered: