summaryrefslogtreecommitdiffstats
path: root/idrop-lite
diff options
context:
space:
mode:
authorLISA STILLWELL <lisa@simon.local>2012-02-15 21:36:18 (GMT)
committer LISA STILLWELL <lisa@simon.local>2012-02-15 21:36:18 (GMT)
commit0cd9225eea66a2937c1a15734891f10b406ef03d (patch)
tree89bb1771c0600eb688b7e10bc2612fc074a86109 /idrop-lite
parenta6faf7b3c41e669855d89ecd49ca2ae70d87fe2a (diff)
downloadQCG-Data-0cd9225eea66a2937c1a15734891f10b406ef03d.zip
QCG-Data-0cd9225eea66a2937c1a15734891f10b406ef03d.tar.gz
QCG-Data-0cd9225eea66a2937c1a15734891f10b406ef03d.tar.bz2
[#484] change back to only allow finder to show users home directory
Diffstat (limited to 'idrop-lite')
-rw-r--r--idrop-lite/src/main/java/org/irods/jargon/idrop/lite/finder/IRODSFinderDialog.java19
1 files changed, 10 insertions, 9 deletions
diff --git a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/finder/IRODSFinderDialog.java b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/finder/IRODSFinderDialog.java
index 2775209..12c47eb 100644
--- a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/finder/IRODSFinderDialog.java
+++ b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/finder/IRODSFinderDialog.java
@@ -65,18 +65,19 @@ public class IRODSFinderDialog extends javax.swing.JDialog {
CollectionAndDataObjectListingEntry root = new CollectionAndDataObjectListingEntry();
// Change to start at root for finder dialog - requested in GForge tracker # 484
+// changing this back again to how it was before - GForge tracker #484 was apparently wrong
// if (idropCore.getIdropConfig().isLoginPreset()) {
-// log.info("using policy preset home directory");
-// StringBuilder sb = new StringBuilder();
-// sb.append("/");
-// sb.append(idropCore.getIrodsAccount().getZone());
-// sb.append("/");
-// sb.append("home");
-// root.setParentPath(sb.toString());
-// root.setPathOrName(idropCore.getIrodsAccount().getHomeDirectory());
+ log.info("using policy preset home directory");
+ StringBuilder sb = new StringBuilder();
+ sb.append("/");
+ sb.append(idropCore.getIrodsAccount().getZone());
+ sb.append("/");
+ sb.append("home");
+ root.setParentPath(sb.toString());
+ root.setPathOrName(idropCore.getIrodsAccount().getHomeDirectory());
// } else {
// log.info("using root path, no login preset");
- root.setPathOrName("/");
+// root.setPathOrName("/");
// }
log.info("building new iRODS tree");