So my sceario is this. I have a subsite and in this subsite i have a custom webpart that displays that from a blog under this subsite via web services. The user doesn't has no permission to the blog and the posts list but when i open up the subsite i can see data on the custom webpart.
But when i click the link to view more data then i get access denied error.
But the problem is i don't want the user to see any data at all since he doesn't have access.
I have tried using all the IfHasRights - (ViewListItems - 1 ) Tried this
<xsl:if test="ddwrt:IfHasRights(1)">
<xsl:call-template name="dvt_1.rowview" />
</xsl:if>
But doesn't work Thanks
Any ideas? Thannks