From e7ec976e33b8893b93b953c69c816286d7a118c7 Mon Sep 17 00:00:00 2001 From: bsinou Date: Thu, 9 Feb 2017 22:46:56 +0100 Subject: [PATCH] Fix glitches --- .../suite/people/PeopleSuiteServiceImpl.java | 6 ------ org.argeo.suite.workbench.rap/plugin.xml | 2 +- .../workbench/parts/DefaultDashboardEditor.java | 3 +-- .../theme/argeo-classic/icons/add.gif | Bin 0 -> 318 bytes .../theme/argeo-classic/icons/add.png | Bin 477 -> 0 bytes 5 files changed, 2 insertions(+), 9 deletions(-) create mode 100644 org.argeo.suite.workbench.rap/theme/argeo-classic/icons/add.gif delete mode 100644 org.argeo.suite.workbench.rap/theme/argeo-classic/icons/add.png diff --git a/org.argeo.suite.core/src/org/argeo/suite/people/PeopleSuiteServiceImpl.java b/org.argeo.suite.core/src/org/argeo/suite/people/PeopleSuiteServiceImpl.java index 3ca8acf..19067bd 100644 --- a/org.argeo.suite.core/src/org/argeo/suite/people/PeopleSuiteServiceImpl.java +++ b/org.argeo.suite.core/src/org/argeo/suite/people/PeopleSuiteServiceImpl.java @@ -56,8 +56,6 @@ public class PeopleSuiteServiceImpl extends PeopleServiceImpl implements PeopleS // TODO Hard-coded model initialisation // To be cleaned once first init and config mechanisms have been implemented private final static String publicPath = "/public"; - // FIXME to be added in NodeConstants - private final static String groupHomePath = "/groups"; // FIXME Users must have read access on the jcr:system/jcr:versionStorage // node under JackRabbit to be able to manage versions private final static String jackRabbitVersionSystemPath = "/jcr:system"; @@ -67,13 +65,11 @@ public class PeopleSuiteServiceImpl extends PeopleServiceImpl implements PeopleS super.initialiseModel(adminSession); JcrUtils.mkdirs(adminSession, publicPath, NodeType.NT_UNSTRUCTURED); - JcrUtils.mkdirs(adminSession, groupHomePath, NodeType.NT_UNSTRUCTURED); if (adminSession.hasPendingChanges()) { adminSession.save(); configureACL(adminSession); log.info("Repository has been initialised with Argeo Suite model"); } - initModelResources(adminSession); } // First draft of configuration of the people specific rights @@ -85,8 +81,6 @@ public class PeopleSuiteServiceImpl extends PeopleServiceImpl implements PeopleS // Default configuration of the workspace JcrUtils.addPrivilege(session, "/", NodeConstants.ROLE_ADMIN, Privilege.JCR_ALL); - JcrUtils.addPrivilege(session, groupHomePath, NodeConstants.ROLE_USER_ADMIN, Privilege.JCR_ALL); - JcrUtils.addPrivilege(session, publicPath, NodeConstants.ROLE_USER, Privilege.JCR_READ); JcrUtils.addPrivilege(session, publicPath, "anonymous", Privilege.JCR_READ); JcrUtils.addPrivilege(session, publicPath, NodeConstants.ROLE_ANONYMOUS, Privilege.JCR_READ); diff --git a/org.argeo.suite.workbench.rap/plugin.xml b/org.argeo.suite.workbench.rap/plugin.xml index bec219d..1d7eab8 100644 --- a/org.argeo.suite.workbench.rap/plugin.xml +++ b/org.argeo.suite.workbench.rap/plugin.xml @@ -81,7 +81,7 @@ style="pulldown" label="Create" tooltip="Create a new object" - icon="theme/argeo-classic/icons/add.png" + icon="theme/argeo-classic/icons/add.gif" commandId="org.argeo.cms.ui.workbench.doNothing"> d=(Ze15;Qy1mX8t2lT^ zHOHgY9FJamJZkN+sI|wVk6ueSb}ixP)r4bLfn?%^+sU^crQUj&`rv8W|Ns9PC;*B- zSr{1@v>9|jW`O*}z!rUAYJrE2RKG`JYNRKhwpQrnor{(Ph`sVEnyR2Kc;c~(o$WdP zMb0Wl6K^dQ-0hgs;QL70(Y)*K0-AbW|YuPggqPA)-htqtF9?E#t+>*?YcVsUzD zuwmaJ0|A*G+DaF9EGcQ8knu?W1H+Ui^$!gZi=0G0hQG-8%oH3HprXHF^%g$)gmo52 zClr+5dFgiRkn;Ikvu?^VD*S8wuBh135X6-^%ZY=LA>+1KY3$-vT3d2|UulW;)LglB z+16=_EM**u7oxn^nl7DEbLBx`PS3((J+A4eRm*qB+E_o&=#eyIY!$c?_5Fy7YJk^WU!Th&UYaJp&C4<$J-z+5O@K*n zy7!Z3pDRs%mRQx!iV$J-EZTpcpSMaYTi0`w1{YI;{;{iBtuITY&fk73)_s&|_F1)} z%{Sjz9p0vy#et96vqt%l*=S3>6aseuf>H Rb`lu&44$rjF6*2UngCrK!u|jN -- 2.30.2