Commit b94ebc7a3137c3258926142cb56911f45cf9b16d
1 parent
ac438589
(#2959) inserted additional search permissions on successful user group link addition
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2726 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
1 deletions
presentation/lookAndFeel/knowledgeTree/administration/usermanagement/addUserToGroupBL.php
| ... | ... | @@ -55,7 +55,6 @@ if (checkSession()) { |
| 55 | 55 | } else { |
| 56 | 56 | $oPatternCustom->setHtml(getPage($fUserID,$fGroupID)); |
| 57 | 57 | $main->setFormAction($_SERVER["PHP_SELF"] . "?fUserSet=1&fUserAssign=1"); |
| 58 | - | |
| 59 | 58 | } |
| 60 | 59 | } |
| 61 | 60 | |
| ... | ... | @@ -63,6 +62,8 @@ if (checkSession()) { |
| 63 | 62 | // else add to db and then goto page succes |
| 64 | 63 | $oUserGroup = new GroupUserLink($fGroupID,$fUserID); |
| 65 | 64 | if($oUserGroup->create()) { |
| 65 | + // update group search permissions | |
| 66 | + $oUserGroup->updateSearchPermissions(); | |
| 66 | 67 | $oPatternCustom->setHtml(getPageSuccess("&fUserID=$fUserID")); |
| 67 | 68 | } else { |
| 68 | 69 | $oPatternCustom->setHtml(getPageFail("&fUserID=$fUserID")); | ... | ... |