Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12233

Plugin not showing in menu due to permission

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Release Branch 18.12, Release Branch 17.12, 22.01.01
    • Release Branch 17.12, 18.12.01
    • framework
    • None
    • openjdk 11.0.11 2021-04-20
      OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
      OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)

      Ubuntu 20.04.2 LTS

    Description

      When creating a plugin via gradle :

      
      ./gradlew createPlugin -PpluginId=plugin-test -PpluginResourceName=PluginTest -PwebappName=plugin-test -PbasePermission=PLUGIN_TEST
      
      

      and loading all the required data and permissions, the plugin doesn"t appear in the menu.

      I think it comes from the ComponentConfig.java file, L1229, when the permissions gets trimmed and modified. Are those lines still useful ? 

      I tried removing it locally and it fixed the problem.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jleroux Jacques Le Roux
            Gaetan Chaboussie Gaetan Chaboussie
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment