Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)

76591: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      76521: Merged DEV to V4.2-BUG-FIX
       76328 : MNT-11854 : Consumer allowed to create Discussion, Wiki, Blog and Link if she/he creates the first item
        Add the changes - for discussion, blog and link containers we will get site permission. 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@77658 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2014-07-22 15:57:24 +00:00
parent 0dfc1fb49d
commit 06a2d4a2aa
3 changed files with 6 additions and 23 deletions

View File

@@ -243,10 +243,10 @@ public abstract class AbstractBlogWebScript extends DeclarativeWebScript
}
else
{
// The NodeRef is the container (if it exists)
// MNT-11854 Consumer allowed to create Discussion, Wiki, Blog and Link if she/he creates the first item
if (siteService.hasContainer(siteName, BlogServiceImpl.BLOG_COMPONENT))
{
nodeRef = siteService.getContainer(siteName, BlogServiceImpl.BLOG_COMPONENT);
nodeRef = site.getNodeRef();
}
}
}