You need to sign in to do that
Don't have an account?

Visualforce Pages and Profile Security Settings
A problem I'm having with my visualforce pages is that if I have a tab that is a related list of an object that is not visible to a certain profile, they cannot access the overall page at all.
Example: My contact object has been made into a tabbed visualforce page. One of the tabs is the related list, Case Notes using the <apex:related list> function. . I did a test where the Visualforce page is available to a profile called Basic. the Basic profile has full access to the Contact object, but no access whatsoever to the Case Note object. When clicking on a contact, I get the error that the relationship with the Case Notes is not a relationship.
How do I override this other than making Case Notes available but making each field hidden for the Basic profile? Is there a way in coding to allow the Basic profile to see everything but the related list for Case Notes does not appear on the tab?
Thanks!
What type of controller is your visualforce page using? AFAIR standard controllers run in the context of the logged in user, but extensions and custom controllers run in the system context.
I'm still a little new to VF so I'm not sure what you mean by AFAIR standard controller. I don't have an extension, here's a sample of my code:
Any ideas/thoughts? Thanks for your time!
I think the issue here is the standard controller - that will respect the profile and permissions of the currently logged in user.
There's more information at:
http://www.salesforce.com/us/developer/docs/pages/index_Left.htm#CSHID=pages_controller.htm|StartTopic=Content%2Fpages_controller.htm|SkinName=webhelp