diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-30 17:53:39 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-30 17:53:39 +0100 |
| commit | 0d5e32e7b52dd90677c9a98e5911efd1216b1ef2 (patch) | |
| tree | 466bbd60b9218eccffeca9016f4163184e5bb8e3 | |
| parent | c4804c604c62dd07360c958c1c7e3930cfdb0d23 (diff) | |
| download | wiki-0d5e32e7b52dd90677c9a98e5911efd1216b1ef2.tar.gz wiki-0d5e32e7b52dd90677c9a98e5911efd1216b1ef2.tar.bz2 wiki-0d5e32e7b52dd90677c9a98e5911efd1216b1ef2.zip | |
Restrict Orphan Pages menu item to editors with p_wiki_update_page
Previously gated on p_wiki_view_page (basic level), making it visible
to anonymous users. Orphan page management is an editorial task.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
| -rwxr-xr-x | templates/menu_wiki.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/menu_wiki.tpl b/templates/menu_wiki.tpl index 0ec8306..67ae370 100755 --- a/templates/menu_wiki.tpl +++ b/templates/menu_wiki.tpl @@ -16,7 +16,7 @@ {if $gBitSystem->isFeatureActive( 'wiki_books' ) && $gBitUser->hasPermission( 'p_wiki_create_book' )} <li><a class="item" href="{$smarty.const.WIKI_PKG_URL}edit_book.php">{booticon iname="fa-book-open" iexplain="Create Book" ilocation=menu}</a></li> {/if} - {if $gBitSystem->isFeatureActive( 'wiki_list_orphans' ) && $gBitUser->hasPermission( 'p_wiki_view_page' )} + {if $gBitSystem->isFeatureActive( 'wiki_list_orphans' ) && $gBitUser->hasPermission( 'p_wiki_update_page' )} <li><a class="item" href="{$smarty.const.WIKI_PKG_URL}orphan_pages.php">{booticon iname="fa-magnifying-glass" iexplain="Orphan Pages" ilocation=menu}</a></li> {/if} {if $gBitSystem->isFeatureActive( 'wiki_multiprint' ) && $gBitUser->hasPermission( 'p_wiki_view_page' )} |
