Details
-
Type:
Regression Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.1.0 CE RC1
-
Fix Version/s: --Sprint 12/11, 6.1.0 CE RC1
-
Component/s: Collaboration > Blogs
-
Labels:
-
Environment:Tomcat 7.0.21 + MySQL 5. 6.1.x Revision 88469.
-
Similar Issues:
Description
Reproduce as following steps:
1. add Blog portlet;
2. add a new user and join in liferay.com site;
3.go to control panel -> Roles,click action near Site Member,choose define permissions;
4. add permissions Add Entry and Access in Control Panel;
5.back to liferay.com and add
6. login in as the new user,go to control panel -> Blog;
There was not Add Blog Entry button.

In file toolbar.jsp /portal/trunk/portal-web/docroot/html/portlet/blogs_admin/toolbar.jsp
This permission check always fails:
<c:if test="<%= PortalPermissionUtil.contains(permissionChecker, ActionKeys.ADD_ENTRY) %>">
I have change it to :
<c:if test="<%= BlogsPermission.contains(permissionChecker, scopeGroupId, ActionKeys.ADD_ENTRY) %>">
After this, users can add new blog entries in there site. Not sure if this are a correct fix but it works for me.