portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Created: (JS2-492) User customizations to role based views should be done on a users copy of the psml instead of the template itself.
Date Tue, 07 Feb 2006 19:36:57 GMT
User customizations to role based views should be done on a users copy of the psml instead
of the template itself.
------------------------------------------------------------------------------------------------------------------

         Key: JS2-492
         URL: http://issues.apache.org/jira/browse/JS2-492
     Project: Jetspeed 2
        Type: Bug
  Components: Profiler  
    Versions: 2.0-FINAL    
 Environment: OS: Windows/LINUX
    Reporter: Arun


We are building an enterprise dashboard solution using Jetspeed. A default view (set of psml
pages) is published to the roles defined in the system. One of the major requirements is to
allow the end user to personalize his view. But when he clicks on customize to add/remove/move
portlets, the template itself is being updated. Instead, the change should be made in a copy
the psml in users folder leaving the psml unde the "role" folder intact. 

-----------------------------------------
I am attaching an email chain suggesting an Issue to be created for this requirement.:
(http://mail-archives.apache.org/mod_mbox/portals-jetspeed-user/200512.mbox/%3c1134024967.3247.11.camel@rwatlerxps.finali.net%3e)

> > > I have a couple of use cases that I was hoping this group could help me
> > > with.
> > >
> > > 1. I have a system with several roles defined and obviously users
> > > assigned to those roles.  When a user, say Bob who is in role1, logs in
> > > I need to find pages from paths in the following order.
> > > pages/_user/Bob
> > > pages/_role/role1
> > > pages
> > >
> > > Is there a profiling rule that does this already?  If not what criteria
> > > do I need to add to a new one to get it to work?
> >
> > You can either use two profiling rules... such as 'j2' and
> > 'roll_fallback', or you can define a custom profiling rule. Take a look
> > in the /etc/sql/populate-db-default.sql for ideas.
> >
> > >
> > > 2. Say Bob is looking at a page that came from pages/_role/role1.  He
> > > wants to change it, but the change should be made on a user basis so a
> > > copy is made in pages/_user/Bob and Bob edits his personal copy.
> > >
> > > Is this possible, and if so how do I set it up?
> >
> > You have the right idea. However, AFAIK there is no automated copy from
> > the /_role/role1 to /_user/Bob upon customization. There is plenty of
> > work going on related to customization and site management... so please
> > submit a JIRA request if this feature is important enough to you.
> 
> 
> When Bob is looking at his role's page, it should not have a edit option,
> right?

It depends on how the constraints/permissions are configured. Edit
permissions could easily be granted to Bob. I suppose that is the point
though... Brock would want the page copied if he did not have edit
permissions.
 
> 
> >
> > > Also, when a new user is created and assigned to a role and given a
> > > profiling rule a user directory is created for him.  What determines
> > > what all goes in this directory?  Is it just a default-page.psml file
> > > and a folder.metadata file to restrict access to this user?
> >
> > It is copied from a special user home directory for the user 'template'.
> > You can customize the template, (/_user/template), as needed. Ownership
> > is configured for the new user.
> >
> > >
> > > I've read the design doc on this stuff but if it's in there I guess it's
> > > just not sinking in.  If anyone can provide a little insight for me I'd
> > > greatly appreciate.
> > >
> >
> > HTH,
> >
> > Randy
> >
> > >
> > > Brock Bland



-- 
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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message