I am new in developing sharePoint.
I try to use SPHierarchyDataSourceControl of sharepoint to display a SPTreeView of all sites, doclibs and folders in my site.
I set the property "Web" to "SPContext.Current.Site.RootWeb" and the "RootWebId" to "SPContext.Current.Site.RootWeb.ID"
My problem is that users can see in the tree - DocLibs and sites that they don't have permissions to see. What can I do to show in the tree only doclibs that the user has minimum readonly permission ?
thanks !!!