Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian W. Damus2013-10-09 17:08:42 -0400
committerChristian W. Damus2013-10-09 17:08:42 -0400
commitf3383ce73006201ddcc2430c211b5bc1ed69cc31 (patch)
tree12a17ab68676058bbbd7fea8d80241da8282f5a4
parent6717d1fe38952d3f3defc3f472441414cabadc73 (diff)
downloadcdo-f3383ce73006201ddcc2430c211b5bc1ed69cc31.tar.gz
cdo-f3383ce73006201ddcc2430c211b5bc1ed69cc31.tar.xz
cdo-f3383ce73006201ddcc2430c211b5bc1ed69cc31.zip
Revert "419085: [Security] CDOItemProvider raises NoPermissionException on folders"
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/ui/CDOItemProvider.java10
1 files changed, 2 insertions, 8 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/ui/CDOItemProvider.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/ui/CDOItemProvider.java
index 48cd52c141..2c12579932 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/ui/CDOItemProvider.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/ui/CDOItemProvider.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2007-2013 Eike Stepper (Berlin, Germany), CEA LIST, and others.
+ * Copyright (c) 2007-2013 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -8,7 +8,6 @@
* Contributors:
* Eike Stepper - initial API and implementation
* Victor Roldan Betancort - maintenance
- * Christian W. Damus (CEA LIST) - 418452
*/
package org.eclipse.emf.cdo.ui;
@@ -180,12 +179,7 @@ public class CDOItemProvider extends ContainerItemProvider<IContainer<Object>>
if (element instanceof CDOResourceFolder)
{
- CDOResourceFolder folder = (CDOResourceFolder)element;
- if (folder.cdoPermission() == CDOPermission.NONE)
- {
- return NO_ELEMENTS;
- }
- return folder.getNodes().toArray();
+ return ((CDOResourceFolder)element).getNodes().toArray();
}
return super.getChildren(element);

Back to the top