You could set the preferences in the PSML as read-only. That way, the
user can't alter them and they will be identical for all users.

The old way just didn't make any sense.  In the old way, if user A
changes a preference, it would then be changed for all users.

-aaron

On 12/11/06, Thorsten Berger (JIRA) <[email protected]> wrote:
    [ 
http://issues.apache.org/jira/browse/JS2-449?page=comments#action_12457424 ]

Thorsten Berger commented on JS2-449:
-------------------------------------

I'm a bit wondering why switching back to the old behaviour isn't configurable. 
At least I haven't found it and please correct me if I'm wrong.

This seems to prevent one of my important use cases: the admin should be able 
to configure portlets on public portal pages.

E.g. imagine that admin wants to put the Google Maps portlet on the (publicly 
viewable) start page and sets another location in the prefs than the default 
one. This results in only admin seeing the correct location, non-logged-in 
guests still have San Francisco. The same for RSS portlets etc.

I tried to use the "mergeSharedPreferences" feature, but could not achieve this behavoiur. 
Furthermore there is always a preference node for the guest user created by just viewing the page and this 
overrides always the "no-principal" prefs (besides that one can't graphically edit 
"no-principal" prefs).
Using the Portlet Application Manager to set default prefs is insufficient too, 
as they're saved per portlet definition, not per entity.

Thanks in advance for any advice, Thorsten


> User Specific Preferences
> -------------------------
>
>                 Key: JS2-449
>                 URL: http://issues.apache.org/jira/browse/JS2-449
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: Portlet Registry
>    Affects Versions: 2.1-dev
>            Reporter: David Sean Taylor
>         Assigned To: David Sean Taylor
>             Fix For: 2.1-dev
>
>
> Preferences should be user-specific on all pages.
> If User A comes to page /roles/X/x.psml, and stores a pref P1 on portlet x1, 
and then User B comes to page /roles/X/x.psml, and also stores a pref P1 on 
portlet x1, the prefs for those two users should be different.
> I am considering making this feature optional, but the problem is that the 
semantics are intrinsic in the data model.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
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