Geeks With Blogs
MarcosT Blog .NET|ASP.NET|Sharepoint| and maybe more...
Few days ago, in my company developed a new control to replace the navigation control that appears in the left in SPS. You know, the "CategoryNavigationWebPart" control. Our control looks much better, and has a nice feature: sub-levels. If an area has a child, it´s visible in the control. If the area has a child but the user doesn´t have permission, it´s invisible to him and of course can´t access the area.
We tested and developed the control in our test portal, *but*, when we deployed it into the production server everything worked fine, except the security feature: The area was still visible in the control even if the user doesn´t have access permissions. In fact, if the user click the item menu of this area, the "you don´t haver access permission blah blah" message was displayed. That feature was the main reason of our control.
At first we thought it was a bug, but we checked everything was OK, then we realize that production portal was a SP1 level but our development portal is SP2!.
I wasn´t sure if the SP2 install will fix the error, so I searched for the changes in SP2 and there is nothing about security. Even if there is nothing about area security en SP2, that was the only difference with our dev portal, so we installed SP2 and guess what? That solved the problem. I still don´t know what is the exact difference between SP1 and SP2 about area security, but if you have a similar problem, please check the portal service pack level. Posted on Thursday, March 16, 2006 8:13 AM Sharepoint | Back to top


Comments on this post: Sharepoint Portal Server area security and Service Pack 2

# re: Sharepoint Portal Server area security and Service Pack 2
Requesting Gravatar...
Hi,

Do you know if the "CategoryNavigationWebPart" can be invisible or visible, depending of the access rights of the logged user ?

We have to do it for a project, and don't know how.

Regards
Thierry Brodard, InfoTeam SA
thierry.brodard@infoteam.ch
Left by Thierry Brodard on Jul 13, 2006 10:32 AM

# re: Sharepoint Portal Server area security and Service Pack 2
Requesting Gravatar...
Hi there.
I think it's not possible. I would suggest code a new webpart/control and checks if the current user has access to the requested resource (area).
As far I know, CategoryNavigationWebPart only "renders" the areas in the specified hierarchy through the "CurrentCategoryID" property.

Hope this helps.
Left by Marcos on Jul 14, 2006 12:04 PM

# re: Sharepoint Portal Server area security and Service Pack 2
Requesting Gravatar...
The control you describe for navigation sounds like exactly what we are looking for. I really like the look and function of CategoryNavigationWebPart -- but it doesn't show anything below topics or departments!

Would you be willing to share that control or sell it? :)

Thanks,

--mike
Left by Michael Lynch on Aug 07, 2006 10:06 PM

# re: Sharepoint Portal Server area security and Service Pack 2
Requesting Gravatar...
Michael:
I will ask about what can be done....
Left by Marcos on Aug 08, 2006 10:02 AM

# re: Sharepoint Portal Server area security and Service Pack 2
Requesting Gravatar...
Michael can you give us an email address or write to this one : victordv[AT]fibertel.com.ar ?

Good luck.
Left by Marcos on Aug 08, 2006 11:46 AM

Your comment:
 (will show your gravatar)


Copyright © Marcos | Powered by: GeeksWithBlogs.net