]> git.pld-linux.org Git - packages/dokuwiki-tpl-sidebar.git/blob - acl-check.patch
- apply dw-20101007.patch
[packages/dokuwiki-tpl-sidebar.git] / acl-check.patch
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.029809 seconds and 3 git commands to generate.