function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RavIndra VemulaRavIndra Vemula 

Permission Set issue while using 'apex:include' tag

Hi,

I have created two visualforce pages, Vf1 and Vf2. I have included Vf2 page in Vf1 page by using 'apex:include' tag. I have given permission set to a child user to access Vf1 page only, but he is able to access Vf2 page also(I can see 'no access' option for Vf2 page in permission set).

I have found below article regarding apex:include option:

https://help.salesforce.com/HTViewHelpDoc?id=pages_page_level_security.htm&language=en_US

Does anyone know, how to restrcit the Vf2 page acces eventhough it's included in Vf1 page through permission sets.

Thanks,
Ravindra
ShashankShashank (Salesforce Developers) 
As per existing functionality, we can set security for a visualforce page at the top level only. You might want to post an idea regarding it here: https://success.salesforce.com/ideaSearch