]> git.pld-linux.org Git - packages/dokuwiki-tpl-sidebar.git/blame - acl-check.patch
- add images/button-pld.png link
[packages/dokuwiki-tpl-sidebar.git] / acl-check.patch
CommitLineData
b3a6ea34
ER
1--- sidebar/tplfn_sidebar.php~ 2010-03-22 19:53:07.000000000 +0200
2+++ sidebar/tplfn_sidebar.php 2010-03-22 19:54:26.889836553 +0200
3@@ -73,6 +73,9 @@
4 $fileSidebar = getSidebarFN(getNS($ID), tpl_getConf('page'));
5 }
6
7+ // check user has read permission for the sidebar page
8+ if (auth_quickaclcheck($fileSidebar) < AUTH_READ) return;
9+
10 // determine what to display
11 if ($fileSidebar) {
12 $ID = $fileSidebar;
This page took 0.080565 seconds and 4 git commands to generate.