I just upgraded one of my dev machines to 2.1 and all of a sudden, the
edit page link started showing up as a result of calling the
PageActionBar macro in my layout decorator.

In 2.0, it didn't show up and I'm not sure why this has changed.

In any event, I don't want my users to be able to edit pages, but I
*do* want the edit link to appear in my portlet action bars whenever
EDIT is declared to be supported by the portlet.

If I edit my declared security constraints in page.security and remove
the edit permission everywhere, the edit link disappears from the
layout action bar but it also disappears from the portlet action bars.

I looked at the documentation thinking maybe I'd have to enable it for
every portlet fragment but is says that only the view permission is
checked, otherwise it checks the page permissions.

Is there a way to configure the security the way I want or should I
just put a hack in my layout decorator?

thx,
aaron

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

Reply via email to