SharePoint Web Parts

I would like to create a secure links web part for the MOSS Publishing portal. The idea is that their logged username is checked against the custom provider to determine their permissions for a specific link and hyperlinks will be displayed based on that.

What would be a good approach to something like this? In particular, is it possible to inherit the Summary Links Web Part to achieve this functionality?

+1


source to share


2 answers


The solution to this was to create a custom XML file with an attribute indicating whether roles were applied or not for a specific application link - and if so, another attribute containing the name of the role. The code will then validate the custom store using the registered users' network id for authorization verification.



0


source


If you don't need a custom provider to check permissions, you can simply apply SharePoint permissions to individual items in the list. Then the list views will be automatically cropped. Also, if you want to write your own web part to display them, you can use a CAML query to retrieve the items, and the results will also be automatically truncated by the user's current permissions.



If you need to use a custom provider for permissions, I won't help much .; -)

+1


source







All Articles