projects
/
Pman.Admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
330347e
)
GroupRights.php
author
edward
<edward@roojs.com>
Mon, 15 Jan 2018 03:18:09 +0000
(11:18 +0800)
committer
edward
<edward@roojs.com>
Mon, 15 Jan 2018 03:18:09 +0000
(11:18 +0800)
GroupRights.php
patch
|
blob
|
history
diff --git
a/GroupRights.php
b/GroupRights.php
index
8a291a1
..
a0235e2
100644
(file)
--- a/
GroupRights.php
+++ b/
GroupRights.php
@@
-99,7
+99,7
@@
class Pman_Admin_GroupRights extends Pman
$this->jerr("NO GROUP");
}
- if (!$this->checkPerm('
Core.Groups','
E')) { // editing groups..
+ if (!$this->checkPerm('E')) { // editing groups..
$this->jerr("PERMISSION DENIED");
}
@@
-135,9
+135,9
@@
class Pman_Admin_GroupRights extends Pman
}
- function checkPerm($
perms, $
lvl)
+ function checkPerm($lvl)
{
- return $this->hasPerm(
$perms
, $lvl);
+ return $this->hasPerm(
'Core.Groups'
, $lvl);
}
}
\ No newline at end of file