Insufficient previliges error is thrown when user assigned with feed-based page layout of custom object(happening in Apex:detail component)
Last updated 2017-04-14 ·Reference W-2397914 ·Reported By 34 users
Summary
VF page throws "Insufficient Previliges" Error when user has feed-based page layout enabled for profile
Repro
1)Create a custom object, e.g., TestCustObj in your dev Org
2)Enable feed-tracking for TestCustObj(setup->customize->chatter->feed tracking)
3)Create a feed-based page layout and assign this page layout the profile of current user
4)Create a simple VF page, for example:
<apex:page standardController="TestCustObj__c">
<!--<apex:pageBlock >-->
<apex:detail subject="{!TestCustObj__c.Id}"/>
<!-- </apex:pageBlock>-->
</apex:page>
-<6>view the page throw URL: <YOURHOSTNAME>/apex/<VFNAME>?id=<RECORDID>
Workaround
Do NOT assign feed-based page layout to Users when they are using VF page(for example, apex:detail components)
Reported By (34)













Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.