David,
Thanks for all your responses.
I have followed your suggestion to test it, but still feel confused.
1. I create two users A and B. 
2. I give both of them j1 profile.
3. I create two folders named a and b in %J2_HOME%\WEB-INF\pages\_user\
4. I put default-page.psml into both of above folders. It is like this:
   pages
           _user
                     a\default-page.psml (page owner a)
   pages
           _user
                     b\default-page.psml (page owner b)
5. I login as user A, enter the edit mode and remove a portlet from
page. It will not affect user B's default-page.psml. So I think they
are not shared pages, they are private pages. Is that right?

6. There is iframe portlet on both of user A's default-page.psml and
user B's default-page.psml. I change iframe portlet's src preference
on user A's default-page.psml. when I login as user B and view his own
default-page.psml, I found the iframe portlet's src preference is the
same as user A's.

Am I doing something wrong? What I want to see is the preference
change of user A's portlet will not be reflected to user B.

Could you please give me more detail about what is a shared page and
what is a private page?

Thanks!

- James Liao



On 7/7/05, David Pankros <[EMAIL PROTECTED]> wrote:
> > The edit mode button is NOT hidden based on the criteria "unless
> > you're admin"
> Well, I didn't mean to imply username was the criteria, if that's the
> impression I gave.  I really expected to be role-based.
> 
> > First, the portlet.xml descriptor determines whether edit mode is even
> > supported.
> Yes, I know that.  My portlets correctly declare their modes in the
> portlet.xml, as per the spec.
> 
> > Second, Jetspeed uses declarative security to secure access to
> > portlets (and pages).
> >
> > Edit mode buttons are hidden based on the above criteria.
> Well, I guess that's my fault.  Last time I checked, I couldn't find any
> docs on the declarative constraints and had no idea what the allowable
> values were or if there WERE other values.  Now I see they're in:
> http://portals.apache.org/jetspeed-2/bronco.html#Declarative_and_Global_
> Constraints
> 
> For my custom pages, I just modified the default page, which used
> public-view and not public-edit, as I would have expected.
> 
> Sorry about the confusion.  I'm off to change that now...
> 
> Dave
> 
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.323 / Virus Database: 267.8.9/42 - Release Date: 7/6/2005
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to