This is a comment on Hiding topics instead of listing them as secure, posted by WikiAdmin at 21.09.2020 11:00

View source for Hiding links to inaccessible pages

It is technically possible to add an option to the WackoFormatter to hide links like ##""((ProtectedPage Hide me))""## to inaccessible pages, but this is conceptually not desired. Using the ##tree## action or a customized action for this purpose is probably the best way.

There are a couple of possibilities to show only the pages the user/usergroup is allowed to access.
The following solution is the easiest and most common one.

#|
*| page tag | page title |*
|| ##/Manual/100##  | 100 - Product One Manuals ||
|| ##/Manual/200## | 200 - Product Two Manuals ||
|#

HomePage:
##""{{tree page="/Manual" depth=1 title=1 nomark=1}}""##

  1. The ##Manual## cluster ensures, that it loads only the pages inside the cluster.
  1. The ##depth## defines that it shows only the first level.
  1. The ##nomark## parameter suppresses the frame around the results.
  1. The ##title## parameter ensures it takes the page title (default).

Of course it depends on how you want to organize your wiki structure.
Usually you set a GROUP in the read ACL's and add  than the users to that group.

You may copy the tree action and create a modified version which fits your special purpose.
For some reasons there is no template for the tree action yet, where you can change the output directly.