You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Actual acl checking should already occur earlier.
However, for simpler lazy-loading, here the DokuWiki assumption for showing namespaces is followed (see https://www.dokuwiki.org/config:sneaky_index).
For showing namespaces only if these contain any allowed pages (while the namespace might be not allowed at higher levels) checking of all lower levels is needed. This needs a lot of extra work in case of lazyloading. Workaround is using the max#n(#m) setting, which determines how many levels are retrieved at once via AJAX.
3a358e1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actual acl checking should already occur earlier.
However, for simpler lazy-loading, here the DokuWiki assumption for showing namespaces is followed (see https://www.dokuwiki.org/config:sneaky_index).
For showing namespaces only if these contain any allowed pages (while the namespace might be not allowed at higher levels) checking of all lower levels is needed. This needs a lot of extra work in case of lazyloading. Workaround is using the
max#n(#m)
setting, which determines how many levels are retrieved at once via AJAX.