PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-33600

Bookmark Portlet Folder Permissions are not properly migrated post-migration from Permission Algorithm 5 to 6

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      5
    • Fix Priority:
      3
    • Similar Issues:
      Show 5 results 

      Description

      Issue
      Attempting to access created bookmark folders after a data migration from permissions algorithm 5 to 6, an error message "You do not have the required permissions." is generated.

      Steps to Reproduce
      Add permissions.user.check.algorithm=5 to the portal-ext.properties to startup the portal with permissions algorithm 5.

      1) Start Liferay 6.1 GA2. After logging in as admin, create a new user 'user 1', and add user to the Liferay site.
      2) Add a page to the Liferay site, and add the bookmarks portlet
      3) Give site members permission to add folders
      4) Log in as 'user 1'
      5) Create a folder, and add a subfolder inside of it.
      6) Add a bookmark inside of the subfolder
      7) Sign out as 'user 1' logging back in as admin.
      8) Navigate to Control Panel and perform Data Migration.
      9) Change portal-ext.properties to utilize
      permissions.user.check.algorithm=6
      10) Restart the portal.
      11) Upon signing into as 'user 1' - unable to access the folders and subfolders, an error message "You do not have the required permissions."

        Issue Links

          Activity

          Hide
          Ginson Ren added a comment - - edited

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + Oracle 10. Portal 6.1.20 EE GA2.

          Unable to access the folders and subfolders, an error message "You do not have the required permissions."

          Fixed on:
          Tomcat 7.0 + Oracle 10. Portal 6.1.x EE GIT ID: f6bfdf784b571ea7b692c3b4b2215e5b03b5b32e.
          Tomcat 7.0 + Oracle 10. Portal 6.2.x GIT ID: 7e3a84fa2685e42a640e23a030dfde058049b1f3.

          User 1 can access the floder and subfolder correctly.

          Show
          Ginson Ren added a comment - - edited PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + Oracle 10. Portal 6.1.20 EE GA2. Unable to access the folders and subfolders, an error message "You do not have the required permissions." Fixed on: Tomcat 7.0 + Oracle 10. Portal 6.1.x EE GIT ID: f6bfdf784b571ea7b692c3b4b2215e5b03b5b32e. Tomcat 7.0 + Oracle 10. Portal 6.2.x GIT ID: 7e3a84fa2685e42a640e23a030dfde058049b1f3. User 1 can access the floder and subfolder correctly.
          Hide
          Joshua Rodriguez (Inactive) added a comment -

          Oracle SQL Exception is being generated during verify process.

          Show
          Joshua Rodriguez (Inactive) added a comment - Oracle SQL Exception is being generated during verify process.
          Hide
          Joshua Rodriguez (Inactive) added a comment -

          In Oracle you can not pass in the value of the Id as a long, but must be passed in as a String. New fix will correct this issue

          Show
          Joshua Rodriguez (Inactive) added a comment - In Oracle you can not pass in the value of the Id as a long, but must be passed in as a String. New fix will correct this issue
          Hide
          Ginson Ren added a comment -

          Fixed on:
          Tomcat 7.0 + Oracle 10. Portal 6.1.x EE GIT ID: 3100657c11c872cd34652d75149ba346a6127ae1.
          Tomcat 7.0 + Oracle 10. Portal 6.2.x GIT ID: f6e0b3a667723dfb08e66b13db650170623c71df.

          User 1 can access the floder and subfolder correctly.

          Show
          Ginson Ren added a comment - Fixed on: Tomcat 7.0 + Oracle 10. Portal 6.1.x EE GIT ID: 3100657c11c872cd34652d75149ba346a6127ae1. Tomcat 7.0 + Oracle 10. Portal 6.2.x GIT ID: f6e0b3a667723dfb08e66b13db650170623c71df. User 1 can access the floder and subfolder correctly.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 17 weeks, 2 days ago

                Development

                  Structure Helper Panel