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

User can add webcontent subfolder without permission

    Details

      Description

      Step to reproduce:

      1. Create a regular role, then define the permission (Site Administration > Content > Web Content).
        General Permissions > Access in Site Administration
        General Permissions > View
        Resource Permissions > Web Content > Add Folder
        Resource Permissions > Web Content > View
      2. Create a user, and assign the role.
      3. Login as the newly created user, and create a folder.
      4. Try to create a subfolder.

      Expected result:
      User can not add the subfolder (the role does not have the permission: Resource Permissions > Web Content Folder> Add Subfolder).

      Actual result:
      User can add the subfolder.

      Note:
      As a workaround, we can check the permission of the created folder, the regular role does not have permission to create a subfolder.

        Attachments

          Activity

            People

            Assignee:
            brian.wulbern Brian Wulbern
            Reporter:
            beck.liu Beck Liu
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 33 weeks, 6 days ago

                Packages

                Version Package