I have a hunch that you will have better luck looking at AbstractPortletControl and 
VelocityPortletControl.  VelocityPortletControl has a buildActionList that aggregates 
actions allowed for a specific portlet's control.  AbstractPortletControl actually 
checks the user's permissions against security for the requested action.

hth,
Scott

> -----Original Message-----
> From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 04, 2002 10:39 AM
> To: Jetspeed Users List
> Subject: Re: Psml customizing permission
> 
> Umm, since i need this implemented, i have tried to do it by myself with
> checking permissions on allowClose, allowMinimize etc, but i found that
> only
> the getAllowMinimized is called, others not (i put a println but didnt
> print
> anything)
> 
> 
> |- Raffaele Ragni < [EMAIL PROTECTED] >
> |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> |- CONE Sistemi Informativi
> 
> 
> ----- Original Message -----
> From: "Raffaele Ragni" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Friday, October 04, 2002 3:10 PM
> Subject: Psml customizing permission
> 
> 
> Hi,
> I was searching a method to hide some icons, like the customize one, or
> close from certain users that has some permissions.
> I saw that when a user is created he can customize everything, so i went
> on
> role/permission but there was no permission checked.
> Now, the thing that i need is to not make users customize psml, but still
> customizing certain portlets.
> I searched a bit on the mailing list and all i have seen was patches to
> do.
> There is a role/permission to not permit to customize psml but still the
> portlets?
> Or should i change something? and if yes, what class or file?
> I searched on the actual sources too but i've seen for example that in
> AbstractPortlet all 'allow' functions always return true.
> It has still to be implemented or it is a wanted thing?
> 
> 
> 
> |- Raffaele Ragni < [EMAIL PROTECTED] >
> |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> |- CONE Sistemi Informativi
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:jetspeed-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:jetspeed-user-
> [EMAIL PROTECTED]>

Reply via email to