Commit e4b049e76c53f0a5ca034d6b416ce7ae85bab687
1 parent
ce1bc7f2
Use all groups the user is a member of, including via nested groups.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3541 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
lib/permissions/permissionutil.inc.php
| @@ -163,7 +163,7 @@ class KTPermissionUtil { | @@ -163,7 +163,7 @@ class KTPermissionUtil { | ||
| 163 | return false; | 163 | return false; |
| 164 | } | 164 | } |
| 165 | $oPD = KTPermissionDescriptor::get($oPLA->getPermissionDescriptorID()); | 165 | $oPD = KTPermissionDescriptor::get($oPLA->getPermissionDescriptorID()); |
| 166 | - $aGroups = GroupUtil::listGroupsForUser($oUser); | 166 | + $aGroups = GroupUtil::listGroupsForUserExpand($oUser); |
| 167 | return $oPD->hasGroups($aGroups); | 167 | return $oPD->hasGroups($aGroups); |
| 168 | } | 168 | } |
| 169 | 169 |