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

Revoked ADD_TO_PAGE ResourcePermission re-added to User role upon startup

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: Master
    • Fix Version/s: None
    • Labels:
      None

      Description

      Prevents controlling which portlets users can add to pages.

      1. Modify User role, revoke the ADD_TO_PAGE permission for any portlet
      2. Assert that the User role no longer includes the revoked permission (using UI)
      3. Assert that the ResourcePermission database record for the portlet resource & User role does not include the bitwiseValue for the ADD_TO_PAGE action
      4. Restart portal

      Expected: The aforementioned asserts remain true
      Actual: The permission is granted again.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tomas.polesovsky Tomáš Polešovský
              Reporter:
              id30721 id30721
              Participants of an Issue:
              Recent user:
              Michael Saechang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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

                  Packages

                  Version Package