Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Actions List on Portal Home Page

  Asked By: Ahmed    Date: Dec 09    Category: Sharepoint    Views: 1551

On our main portal page, we would like to hide certain links on the
Actions list in the left hand nav bar. I have located where the links
are drawn in the default.aspx page. Something like:

<SPSWC:ToolBar runat="server" id="ActionBar" RenderIfEmpty="false"
<SPSWC:EditCategoryToolBarButton runat="server"
id="TBBViewEditToggle" />

Is there a way to test whether or not the user is an admin inside of
the .aspx page? We would like only the admins to see links like "Edit
page" and "Manage Content," not every user. How do we disable the
above code for non-admins?

Any ideas?



10 Answers Found

Answer #1    Answered By: Rashawn Hopper     Answered On: Dec 09

You don't need to do anything. If the user  does not have the appropriate
rights, they will not see those links  under the Actions menu.

Answer #2    Answered By: Horace Coffey     Answered On: Dec 09

All users see links  for "Manage Content" and "Upload Document," but we
do not want these on our portal  site. For example, everyone sees
the "Add Listing" link, but we will never allow a user  to add a listing
to the main  portal. Is there now way to remove this link, but still
allow admins  to view it? I'm thinking that I might have to create a
web part that includes all this links, and only have it displayed when
admins log in. This solution seems like a long way to go, that's why I
am wondering if there is a better way to do it.

Answer #3    Answered By: Rigoberto Beard     Answered On: Dec 09

You'll need to still set the permissions appropriately, rather than just hide  the link. Otherwise given the correct url they'd still be able to access those tools. You can test  this out by setting up a user  as a reader only (not a member) and they should no longer see those links.

Answer #4    Answered By: Alphonso Mckay     Answered On: Dec 09

As another user  was saying, you can achieve want you want without code. You can set appropriate rights of the default  site groups. Or you can create your own site groups and assign appropriate rights.

Answer #5    Answered By: Daron Oneill     Answered On: Dec 09

Setting each user  to a 'reader' will work for the portal  site. Is there
a way to increase their rights on WSS sites only?

Answer #6    Answered By: M Juarez     Answered On: Dec 09

Like it or not, that IS how it works. You must establish user  rights on
the portal  and then re-establish user rights for each Site Collection
created. Sites can inherit permissions from parent sites but top-level
sites cannot inherit their permissions from the Portal.

Answer #7    Answered By: Marty Mcdowell     Answered On: Dec 09

Security trimming SPPT is quite an undertaking. Unfortunately, there are
no shortcuts to getting it up and running like you'd like it to.

Answer #8    Answered By: Stephon Valentine     Answered On: Dec 09

I've set my user  to only allow viewing rights, but he stills sees the
following actions.

Add Listing
Upload Document

Manage Content

Edit Page

I unchecked the boxes for these options in the Manage Site Groups menu,
but they continue to show up. Everyone I ask tells me that the user
only sees the actions  he has rights to. Well, my user should not be
allowed to do any of the above. If you have/know how to make these
actions disappear for all portal  users, please enlighten me. I'm at the
end of my rope.

Is there any workaround for hiding these actions to all users, and just
have them appear for admins? I know the is a isAdmin property in the
object model, but how would I go about testing that within the
default.aspx page?

Answer #9    Answered By: Leif Cardenas     Answered On: Dec 09

I have a Webpart that hides the quicklinks menu (thanks Todd B) for that if that will resolve the issue?

Answer #10    Answered By: Jasper Hatfield     Answered On: Dec 09

Yes, I would like to try that. My email is chris_dimarco_05@...
if you would like to send the .dwp or cab file.

Didn't find what you were looking for? Find more on Actions List on Portal Home Page Or get search suggestion and latest updates.