Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: No Longer Reproducible
-
Affects Version/s: 6.0.12 EE, 6.0.X EE
-
Fix Version/s: 6.2.0 CE M4
-
Component/s: DM, DM > Document Library Display
-
Labels:
-
Similar Issues:
Description
- Liferay 6.011 EE create 1 user with private pages.
- Create private pages and put Document Library (or Image Gallery) on it.
- Main ADD FOLDER, ADD DOCUMENT, ADD SHORTCUT buttons apperars, because in private pages user has permissions, without configure any.
- Liferay 6.012 SP2 EE, create 1 user with private pages.
- Create private pages and put Document Library (or Image Gallery) on it.
- Main ADD FOLDER, ADD DOCUMENT, ADD SHORTCUT buttons not show.
- If you configure permission for role USER, and put all permissions for USER PERSONAL COMMUNITY... main ADD_FOLDER, ADD_DOCUMENT not show.
- If you configure portlet instance permissions, you can enable this buttons.
There is no way to enable this main buttons at user private pages by rol permission configuration.
Have to go to all portlets in private pages and configure them, one by one. 2000 users with private pages....no good idea.
I see that:
PermissionCheckerBagImpl.java (Revision 69338 -> 71553)
protected boolean isCommunityAdminImpl(
PermissionChecker permissionChecker, Group group)
throws PortalException, SystemException
else if (group.isUser()) {
long userId = group.getClassPK();
if (userId == _userId)
{ return true; }}
That change makes that all my 2000 users lost his Document Library permissions at his own private pages.
.
.

Being part of community verifier program, I tried reproducing this issue against Liferay 6.2.0 CE M4 tomcat bundle/MySql 5.5.17.
But Can't reproduce issue.
It has likely been solved in a recent release and I recommend this can be closed.