grpfinance
asked on
Data View Web part gives error when not users don't have access to all sources
Hello there
I am trying to create a calendar in Sharepoint which displays all calendar items from few sites in one collection and managed to display them using DataView Web Part. The problem is that when people don't have access permission to all of the source sites they get the web part displayed with the following text "Access denied. You do not have permission to perform this action or access this resource". What I would like them to see instead, is only the calendar items to the sites which they have access to. Am I using the right web part - i've tried content query too, but no success.
Any help will be appreciated. Thanks
I am trying to create a calendar in Sharepoint which displays all calendar items from few sites in one collection and managed to display them using DataView Web Part. The problem is that when people don't have access permission to all of the source sites they get the web part displayed with the following text "Access denied. You do not have permission to perform this action or access this resource". What I would like them to see instead, is only the calendar items to the sites which they have access to. Am I using the right web part - i've tried content query too, but no success.
Any help will be appreciated. Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Any update or help on this will be appreciated. Thanks
sorry, been travelling, let me get back to you regarding this.
ASKER
66866 any update?
hi grpfinance,
as long as you are bringing data from different sources to the same dataview webpart, it will show the access denied message if the two lists have different permissions. the reason being, the dataview webpart is more of a client based webpart. The data is initially rendered and then the permissions are applied. The problem is if the list itself is not accessible, the DVWP throws an error which comes as what you are experiencing.
as long as you are bringing data from different sources to the same dataview webpart, it will show the access denied message if the two lists have different permissions. the reason being, the dataview webpart is more of a client based webpart. The data is initially rendered and then the permissions are applied. The problem is if the list itself is not accessible, the DVWP throws an error which comes as what you are experiencing.
ASKER
Any other ways of achieveing this?
Instead of modifying the permissions at the list level, what happens if you keep the permission uniform at the list level however modify the permissions at the item level. Have you tried that?
ASKER
I need it to work similar to the navigation - if you have access to a site you can see it, if you don;t have access you can't see the site in your navigation, i.e Everyone can see the calendar items to the sites which they have access to.