API Changes in the Security of Document collection

Are you experiencing problems where some methods or macros return false or NULL, or a different value is returned for authenticated and public user and these methods worked before applying a hotfix for version 7?
Example of affected API methods, macros, transformation methods:
Documents[NodeAliasPath].RelatedDocuments CMSContext.CurrentDocument.CultureVersions <%# CMS.CMSHelper.TreeHelper.SelectSingleDocument(Convert.ToInt32(Eval("DocumentID"))).Children.Count %>

Please add the following key into your web.config file:

<add key="CMSCheckPermissionsForDocumentCollection" value="false"/>

This code is required due to the security improvements our development team has deciced do implement in version 7 (hotfix 7.37).
Share this article on   LinkedIn

Martin Danko

Let me guide you on your journey of success. I will show you how to optimize your content production with Kentico Draft. Check out www.kenticocloud.com