Uploaded image for project: 'Content Types'
  1. Content Types
  2. MGNLCT-303

App generated base on content type with norsu does not show in App Launcher (happen again)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.0
    • None
    • None

    Description

      Problem: There are some missing permission so the app generated by content type does not show in App Launcher in staging

      Step to reproduce: Add tourguide content type and it's app from https://git.magnolia-cms.com/projects/CLOUD/repos/norsu/browse/magnolia-webapp/src/main/magnolia/norsu/contentTypes to your git repo link to your subscription. 

      Actual: There are no tourguide app in app launcher if you login with subcribtion owner email ( the email you used for add subcribtion, example vn.devx+1@magnolia-cms.com)

       

      First approach: missing creating role function after initializing in norsu. See example https://git.magnolia-cms.com/projects/MODULES/repos/content-types/browse/magnolia-content-types-jcr/src/main/java/info/magnolia/types/datasource/jcr/JackrabbitInitializer.java#612

      Second approach: we may have common role for editor for using for every editor?

       

      Workaround: Temporarily add any working permission (example from pages-app: pages-app-editor) to the app. Ex:

      !content-type:tourGuide
      label: test-cloud
      permissions:
        roles:
          pages-app-editor: pages-app-editor 

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              oanh.thai Oanh Thai Hoang
              oanh.thai Oanh Thai Hoang
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 5h
                    5h