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

Permission setting with new top level PanelCategory

    Details

      Description

      A new PanelCategory with the following annotation

      @Component(
      	immediate = true,
      	property = {
      		"panel.category.key=" + PanelCategoryKeys.ROOT,
      		"panel.category.order:Integer=100"
      	},
      	service = PanelCategory.class
      )
      

      is not displayed on a role's define permission tab.

      The root cause of this is that edit_role_permissions_navigation.jspf uses hardcoded top level PanelCategory-s for "Control Panel", "Site Admin" and "User". This new top level PanelCategory is not listed.

      Steps to reproduce:

      1. Start up a DXP bundle
      2. Log in as admin and create a new regular role: myrole
      4. Go to the Define Permissions tab of myrole.
      5. Deploy test.jar. You can see the new category next to Control Panel (in the root of the product menu).
      6. Go to Define Permissions tab of myrole.
      Result: You can not find this category and app anywhere there, so you cannot set permissions for it.

      Expected
      Newly added top-level PanelCategorys should appear in the define permissions tab and permissions for the Portlets under it can be configured. You should see the "Other" category at the bottom of the list.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sharry.shi Sharry Shi
              Reporter:
              balazs.safrany-kovalik Balázs Sáfrány-Kovalik
              Participants of an Issue:
              Recent user:
              Rafaela Nascimento
              Engineering Assignee:
              Pei-Jung Lan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                16 weeks, 2 days ago

                  Packages

                  Version Package
                  7.4.0 CE GA1 DXP 7,4
                  Master