Hi,

What is the steps to set up a web part (for example, announcement or list)
that does not display adding new items option to regular reader but display
option to contributor user? Can I edit such a default web part created in SP
portal in FP2003? Or I have to create a web part from scratch? assume
different user groups have set up with different permission.

Thanks alot.

RE: How to fine tune web part editability? by hsolomonemail-nntp

hsolomonemail-nntp
Thu Sep 29 10:57:09 CDT 2005

Try checking out Stramit's CheckPermsContent web part:
http://blog.spsclerics.com/archive/2005/09/12/11841.aspx

It doesn't do what you exactly need, but it is the same concept. Stramit
may be able to help you out and likes feedback as well.
--
Heather Solomon
http://www.heathersolomon.com/blog


"TPHAN" wrote:

> Hi,
>
> What is the steps to set up a web part (for example, announcement or list)
> that does not display adding new items option to regular reader but display
> option to contributor user? Can I edit such a default web part created in SP
> portal in FP2003? Or I have to create a web part from scratch? assume
> different user groups have set up with different permission.
>
> Thanks alot.
>
>

RE: How to fine tune web part editability? by Manolo

Manolo
Thu Sep 29 13:39:12 CDT 2005

you could possibly edit the schema.xml for the list and introduce code to
check the user's membership before rendering the "Add new item" cell.

something like this: (not sure if this will work)

<HTML><![CDATA[<%
if(CurWeb.CurrentUser.IsSiteAdmin)
{%>
<tr> <td class="ms-addnew" style="padding- ...
<%
}
%>]]></HTML>
--
http://pasteldelimon.blogspot.com



"Heather Solomon" wrote:

> Try checking out Stramit's CheckPermsContent web part:
> http://blog.spsclerics.com/archive/2005/09/12/11841.aspx
>
> It doesn't do what you exactly need, but it is the same concept. Stramit
> may be able to help you out and likes feedback as well.
> --
> Heather Solomon
> http://www.heathersolomon.com/blog
>
>
> "TPHAN" wrote:
>
> > Hi,
> >
> > What is the steps to set up a web part (for example, announcement or list)
> > that does not display adding new items option to regular reader but display
> > option to contributor user? Can I edit such a default web part created in SP
> > portal in FP2003? Or I have to create a web part from scratch? assume
> > different user groups have set up with different permission.
> >
> > Thanks alot.
> >
> >