diff options
author | jmisinco | 2011-05-20 18:18:18 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2011-05-20 18:18:18 +0000 |
commit | 3c6e5413be2216a54343667c9830d25012847b65 (patch) | |
tree | 82535d4e76ba3ea3d7644eed7e49752c40f7b6b3 /plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src | |
parent | 7840f46b12b20a1bb3ef8b3bb934421e9fc75709 (diff) | |
download | org.eclipse.osee-3c6e5413be2216a54343667c9830d25012847b65.tar.gz org.eclipse.osee-3c6e5413be2216a54343667c9830d25012847b65.tar.xz org.eclipse.osee-3c6e5413be2216a54343667c9830d25012847b65.zip |
bug[bgz_346769]: Enforce access control in RelationComposite, ArtifactExplorer, SkynetTransaction
Changes include:
- DSL access control grammar change to allow relation restrictions on specific artifacts.
- Scope class introduced to parsing of access control rules to track most specific permissions.
- SkynetTransaction allows changes based on access control rules.
- RelationsComposite displays access control on relation sides.
- ArtifactExplorer enforces access control and blocks unallowed user actions. Cases include: copy/paste, new child, drag-N-drop.
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src')
-rw-r--r-- | plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/ArtifactDataAccessor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/ArtifactDataAccessor.java b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/ArtifactDataAccessor.java index e4c42dd0051..3efdec12944 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/ArtifactDataAccessor.java +++ b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/ArtifactDataAccessor.java @@ -90,7 +90,7 @@ public final class ArtifactDataAccessor implements ArtifactDataProvider { public Collection<ArtifactProxy> getHierarchy() { Collection<ArtifactProxy> hierarchy = new HashSet<ArtifactProxy>(); try { - Artifact artifactPtr = self; + Artifact artifactPtr = self.getParent(); while (artifactPtr != null) { hierarchy.add(new XArtifactProxy(artifactPtr)); artifactPtr = artifactPtr.getParent(); |