Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-492

User customizations to role based views should be done on a users copy of the psml instead of the template itself.

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0-FINAL
    • None
    • Profiler
    • None
    • OS: Windows/LINUX

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            arun Arun

            Dates

              Created:
              Updated:

              Slack

                Issue deployment