um, i think i've got it, i was using VelocityPortletAction for my portlets
and form what i've understood it hasn't that functions


|- 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 5:19 PM
Subject: Re: Psml customizing permission


> Ok, i've seen that in AbstractPortletControl these functions are
rewritten,
> and VelocityPortlet control calls a PortletState interface.
> Though i've seen on another mail that someone once modified the
> AbstractPortlet class in that function and it worked.
> My problem is that permissions aren't checked. And i can't find the point
> where that function is called(or, better, which of these functions and in
> what class are called), even in VelocityPortletControl. Now i dont know
java
> entirely, so i dont know exactly where to look.
> For now i'll just hide the icons.
>
>
> |- Raffaele Ragni < [EMAIL PROTECTED] >
> |- Tel 071 2900854 / Fax 071 2908551 / Cel 333 3659770
> |- CONE Sistemi Informativi
>
>
> ----- Original Message -----
> From: "Weaver, Scott" <[EMAIL PROTECTED]>
> To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
> Sent: Friday, October 04, 2002 4:50 PM
> Subject: RE: Psml customizing permission
>
>
> > 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]>
> >
>
>
> --
> 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