Commit 0dce30b79d3b8b57afdd9eb23b587ce38cb46166
1 parent
d8246056
(#2945) redirect to list page on successful addition
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2716 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
1 deletions
presentation/lookAndFeel/knowledgeTree/administration/usermanagement/addUserBL.php
| ... | ... | @@ -122,7 +122,9 @@ if (checkSession()) { |
| 122 | 122 | $default->log->info("adding user id " . $oUser->getID() . " to group id $fGroupID"); |
| 123 | 123 | $oUserGroup = new GroupUserLink($fGroupID,$oUser->getID()); |
| 124 | 124 | if ($oUserGroup->create()) { |
| 125 | - $oPatternCustom->setHtml(getPageSuccess()); | |
| 125 | + // FIXME: update search permissions for the group | |
| 126 | + // redirect to list page | |
| 127 | + controllerRedirect("listUsers"); | |
| 126 | 128 | } else { |
| 127 | 129 | $oPatternCustom->setHtml(getPageGroupFail()); |
| 128 | 130 | } | ... | ... |