Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Hide Tabs based on Permission Level

  Asked By: Rachel    Date: Aug 05    Category: Sharepoint    Views: 11588

I want to make the tabs on the top nav bar dissappear for users who
don't have permission to access the page linked to that tab. For some reason,
it seems to work with one tab, but I can't find any settings to set to get it to
work on other tabs. I am using wss3. How can I show or hide the tabs based on
permissions?

Share: 

 

4 Answers Found

 
Answer #1    Answered By: Latrice Henson     Answered On: Aug 05

Tabs added to the top  nav bar  dynamically by SharePoint are automatically
hidden when a user doesn't have permission  to the site or page  that the tab
points too. tabs  added manually using the Topnavbar link in the Site
Settings page are not security trimmed. MOSS has a capability called
audiences that can be used to hide  manual tabs based  on audience membership
(which can be based on security group membership) but WSS has no way to hide
Tabs added to the navigation system manually.

 
Answer #2    Answered By: Nidhi Tiwary     Answered On: Aug 05

I was afraid that was the case. How can I get sharepoint
to do this for me after the site has been created?

 
Answer #3    Answered By: Beatrice Serrano     Answered On: Aug 05

As long as the tabs  are added automatically they should automatically be
security trimmed. Its only the manually created tabs that aren't security
trimmed. Be aware that security access  to any list or library on a site or
a sub site will make the tab  appear so that the user can browse to the list,
library, or sub site.

 
Answer #4    Answered By: Maya Lewis     Answered On: Aug 05

When I create a tab  manually, I make sure the URL link does NOT have the
http://mysite.org" target="_blank" rel="nofollow">http://mysite.org in it. For example; if I want to create a tab that only shows
up on the top  header if the user has permissions to go to that place the tab
points to, I do the following:
1. copy the url where you want to point the tab to and paste it into the tab
menus URL area like this - http://mysite.org" target="_blank" rel="nofollow">http://mysite.org/purchasing/orders.aspx
2. now remove the the http://mysite.org" target="_blank" rel="nofollow">http://mysite.org part, leaving only -
/purchasing/orders/orders.aspx
3. save all.

Now, test it by letting someone open the site where you placed the tab, make
sure this person has no permissions to see the orders list the tab points to.
They should NOT see the tab.

Now, test it with someone who DOSE have permissions to see the list, and you
will see they can see the tab.

As for the audience target, I use that to block the tab if the user who has
permission to see the list, but is not in the right group for example - this
makes it more granular. However it is not secure.

It works for me. But then again, I may have missed something.

 
Didn't find what you were looking for? Find more on Hide Tabs based on Permission Level Or get search suggestion and latest updates.




Tagged: