Author: julien_viet
Date: 2009-10-25 06:42:03 -0400 (Sun, 25 Oct 2009)
New Revision: 422
Modified:
portal/branches/performance/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java
Log:
fix permission issue in dashboard that was hidding it from the user
Modified:
portal/branches/performance/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java
===================================================================
---
portal/branches/performance/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java 2009-10-24
23:34:26 UTC (rev 421)
+++
portal/branches/performance/component/portal/src/main/java/org/exoplatform/portal/pom/data/Mapper.java 2009-10-25
10:42:03 UTC (rev 422)
@@ -19,6 +19,7 @@
package org.exoplatform.portal.pom.data;
+import org.exoplatform.portal.config.UserACL;
import org.exoplatform.portal.config.model.ApplicationState;
import org.exoplatform.portal.config.model.ApplicationType;
import org.exoplatform.portal.pom.data.BodyType;
@@ -463,7 +464,10 @@
null,
null,
Collections.<String, String>emptyMap(),
- Collections.<String>emptyList());
+ Collections.singletonList(UserACL.EVERYONE));
+ // Julien : the everyone is bad but having null permission
+ // means the same thing cf {@link UIPortalComponent} class
+ // we need to solve that somehow
}
else
{