Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-44079

Add Web Content permission not inherited from folder

    Details

      Description

      1. Create a regular role named testrole
      2. Assign permissions to testrole according to attachment role_setup.png - it's important NOT to assign the general Add Web Content permission
      3. Create a web content folder named testfolder
      4. Set permissions for testfolder according to attachment wcm_folder_permissions.png (set all permissions for testrole)
      5. Create a user named testuser and assign testrole to him
      6. Log in as testuser, go to testfolder and try adding a new web content article in it

      Result: You won't be able to save or publish the article even though testrole has this permission on testfolder.

      This is working properly e.g. with bookmark folders and entries using the same permission settings. Solution is to apply the same pattern for journal articles.

        Attachments

        1. 44079_master_error.png
          44079_master_error.png
          5 kB
        2. 44079_master_fix.png
          44079_master_fix.png
          8 kB
        3. role_setup.png
          role_setup.png
          64 kB
        4. wcm_folder_permissions.png
          wcm_folder_permissions.png
          48 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 14 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1