Hi

I've done this in jetspeed-portlet.xml:

<portlet-app id="j2-admin" version="1.0"
    xmlns="http://portals.apache.org/jetspeed";
    xmlns:js="http://portals.apache.org/jetspeed";
    xmlns:dc="http://www.purl.org/dc";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="http://portals.apache.org/jetspeed
http://portals.apache.org/jetspeed-2/2.1/schemas/jetspeed-portlet.xsd";>

   <js:security-constraint-ref>public-view</js:security-constraint-ref>
   <js:security-constraint-ref>public-edit</js:security-constraint-ref>

Even with this configuration, the Add portlets button still doesn't appear
without do login :(

Raquel



2008/6/25 Vivek Kumar <[EMAIL PROTECTED]>:

> Did you tried the modify public-view constraint, in the constraint, we have
> all user to view the pages, but if allow the view and edit both, Users will
> be able to make changes to default-page.psml  without logging in the
> portal.
>
> Regards
> Vivek Kumar
>
> On Wed, Jun 25, 2008 at 3:29 PM, Raquel Cruz <[EMAIL PROTECTED]> wrote:
>
> > Hello
> >
> > 2008/6/24 David Sean Taylor <[EMAIL PROTECTED]>:
> >
> > >
> > >> I'm using the last version (2.1.3) but I still can't navigate in
> select
> > >> portlet. I'm testing in IE7, Firefox 2.0.0.14 and Safari 3.1.2.
> > >>
> > >>
> > >>  I am using that exact version of Firefox and Safari here. Not really
> > sure
> > > what is going wrong there for you.
> > > Perhaps you have javascript turned off in your browsers?
> > >
> > >
> > >>
> > >>>
> > >>> Can I change permissions/restrictions to access this portlet without
> > >>> being
> > >>>
> > >>>> login? Where can I do that?
> > >>>> Anyone can help?
> > >>>>
> > >>>>
> > >>> With the default configuration, you cannot change permissions until
> you
> > >>> login as administrator
> > >>>
> > >>>
> > >>>  And there's no a way to disable those permissions? For instance, I
> > want
> > >> a
> > >> portal to everyone, without logins, so I want to have all the  options
> > >> available even without do login.
> > >>
> > >>
> > > Yes of course. Check out the jetspeed-portlet.xml, you can secure
> either
> > an
> > > entire portlet application using a security constraint:
> > >
> > > <portlet-app id="j2-admin" version="1.0"
> > >    xmlns="http://portals.apache.org/jetspeed";
> > >    xmlns:js="http://portals.apache.org/jetspeed";
> > >    xmlns:dc="http://www.purl.org/dc";
> > >    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > >    xsi:schemaLocation="http://portals.apache.org/jetspeed
> > > http://portals.apache.org/jetspeed-2/2.1/schemas/jetspeed-portlet.xsd
> ">
> > >
> > >   <js:security-constraint-ref>admin</js:security-constraint-ref>
> > >
> > >
> > > or individual portlets to override the portlet-application level
> > > constraint:
> > >
> > >    <portlet>
> > >        <portlet-name>LoginPortlet</portlet-name>
> > >
> >  <js:security-constraint-ref>public-view</js:security-constraint-ref>
> > >
> > > public view provides view permission to guests as well as authenticated
> > > users
> > >
> > > I think you didn't understand my problem. All my portlets are
> > "public-view". The problem is to change options in the portal, for
> > instance:
> > only when I do login as Administrator, I have access to the button that
> > make
> > me add new portlets. The question is: I want that button visible even
> when
> > I'm not logged in.
> >
> >
> > Raquel
> >
> >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>
>
>
> --
> Regards & thanks
> Vivek Kumar
>
> [EMAIL PROTECTED]
>

Reply via email to