> Is it possible to set a permission to disable user to
> add or remove portlets to the page.

Well it should be, but we have a little function overlap going on here.
Im looking at the PortletWrapper class:

If I change checkPermission, by commenting out this one line (and adding
a new method to the JetspeedSecurity interface), it will do what you
want (almost).

        return JetspeedSecurity.checkPermission( rundata,
                                                 permissionName);
                                           //      wrappedPortlet );
<==== comment out

I will need to rework the code a little bit, should have a fix soon,
check the jetspeed-dev list.

> -----Original Message-----
> From: Eric Chow [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, February 20, 2002 6:11 PM
> To: [EMAIL PROTECTED]
> Subject: Prevent to add or remove portlet to the page
> 
> 
> Hi,
> 
> Is it possible to set a permission to disable user to
> add or remove portlets to the page.
> 
> 
> Best regards,
> Eric
> 
> 
> ===== ==========================================================
>  Chow Hoi Ka, Eric
>  Email : [EMAIL PROTECTED] 
> ==========================================================
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games 
http://sports.yahoo.com

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to