Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2011-04-22 20:38:51 +0000
committerRyan D. Brooks2011-04-22 20:38:51 +0000
commitca4d68764741cae99a98e6dffcdfaf263ca716a9 (patch)
treef1e81d69415fc3c249653c6d2114da2263f0083e /plugins
parent6662cc66b419afff705dc787fc746bfca7898ede (diff)
downloadorg.eclipse.osee-ca4d68764741cae99a98e6dffcdfaf263ca716a9.tar.gz
org.eclipse.osee-ca4d68764741cae99a98e6dffcdfaf263ca716a9.tar.xz
org.eclipse.osee-ca4d68764741cae99a98e6dffcdfaf263ca716a9.zip
feature[ats_YGHW1]: Block changes - fix SMA Details to show context id before branch creation
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMADetailsSection.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMADetailsSection.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMADetailsSection.java
index 06cc66f8009..3761c9f649b 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMADetailsSection.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMADetailsSection.java
@@ -13,6 +13,7 @@ package org.eclipse.osee.ats.editor;
import java.util.Collection;
import java.util.Map;
import java.util.logging.Level;
+import org.eclipse.osee.ats.access.AtsBranchAccessManager;
import org.eclipse.osee.ats.artifact.AbstractWorkflowArtifact;
import org.eclipse.osee.ats.artifact.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.internal.AtsPlugin;
@@ -132,7 +133,8 @@ public class SMADetailsSection extends SectionPart {
Collection<? extends IAccessContextId> ids = null;
if (workingBranch == null) {
try {
- ids = accessControl.getContextId(UserManager.getUser(), workflow);
+ // get what would be if branch created
+ ids = new AtsBranchAccessManager().internalGetFromWorkflow(workflow);
message = ids.toString();
} catch (Exception ex) {
OseeLog.log(AtsPlugin.class, Level.SEVERE, ex);

Back to the top