summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2013-05-20 07:48:31 (EDT)
committer Stephan Born2013-08-28 12:51:33 (EDT)
commit22649a114da69efc10e83159fc1a0748db60e26c (patch)
tree0f74ff47575c5809a7016746630c8dfce602d85c
parent18c8734c7b6b3cd05e15b5943593874cb3ccf4a5 (diff)
downloadorg.eclipse.stardust.ui.web-22649a114da69efc10e83159fc1a0748db60e26c.zip
org.eclipse.stardust.ui.web-22649a114da69efc10e83159fc1a0748db60e26c.tar.gz
org.eclipse.stardust.ui.web-22649a114da69efc10e83159fc1a0748db60e26c.tar.bz2
Jira-ID: CRNT-27603
Added if block to use this.user in getUsersWithSimilarGrants() for getting grants, if null use the loggedInuser for getting grants. git-svn-id: https://svn.csa.sungard.com/repos/ipp2/product/trunk/stardust/ui.web@64957 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b Signed-off-by: Sidharth Singh <sidharth.singh@sungard.com>
-rw-r--r--views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/common/deputy/CreateOrModifyDeputyPopupBean.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/common/deputy/CreateOrModifyDeputyPopupBean.java b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/common/deputy/CreateOrModifyDeputyPopupBean.java
index 5047c21..da82016 100644
--- a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/common/deputy/CreateOrModifyDeputyPopupBean.java
+++ b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/common/deputy/CreateOrModifyDeputyPopupBean.java
@@ -137,7 +137,7 @@ public class CreateOrModifyDeputyPopupBean extends PopupUIComponentBean
private UserQuery getUsersWithSimilarGrants(boolean excludeThisUser)
{
UserQuery query = UserQuery.findActive();
- User user = SessionContext.findSessionContext().getUser();
+ User user = null == this.user ? SessionContext.findSessionContext().getUser() : this.user;
if (user != null)
{
FilterTerm filter = query.getFilter().addOrTerm();