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

CSS for the Control Panel is applied even if permission to view it has been denied to the user via the theme

    Details

      Description

      Description:
      CSS for the Control Panel is applied even if permission to view it has been denied to the user via the theme.

      Steps to Reproduce:

      For Master:
      1. Deploy the attached fjord-theme
      2. Create a new site.
      3. Apply the fjord theme to the new site.
      4. Create a new user and make the user a member of the new site.
      5. Sign in as the new user.
      6. Use the "Go to Other Site" option from the control panel to navigate to the new site.

      For 7.0.X:
      1. Please follow the same steps as LPP-31639

      Expected Results:
      Site should load without the control panel since the user is not an administrator and the theme has a permission check in place for the control panel.

      Actual Results:
      While the control panel is not loaded, the theme's CSS displays as if it is. See the attached screenshot image.png or the image.png from LPP-31639

       

        Attachments

        1. fjord-theme.war
          3.52 MB
        2. image.png
          image.png
          32 kB
        3. portal_normal.ftl
          2 kB

          Activity

            People

            • Assignee:
              frank.fu Frank Fu (Inactive)
              Reporter:
              frank.fu Frank Fu (Inactive)
              Participants of an Issue:
              Recent user:
              Frank Fu (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                49 weeks, 6 days ago

                Packages

                Version Package