Ticket #1324: manager_cli.diff
| File manager_cli.diff, 0.5 kB (added by openhaus, 2 years ago) |
|---|
-
lib/SGL/Manager.php
old new 265 265 function _authorise($mgrPerm, $mgrName, $input) 266 266 { 267 267 // if user has no global manager perms check for each action 268 if (!SGL_Session::hasPerms($mgrPerm) ) {268 if (!SGL_Session::hasPerms($mgrPerm) && !SGL::runningFromCLI()) { 269 269 270 270 // and if chained methods to be called are allowed 271 271 $ret = true;
