[MGNLCT-303] App generated base on content type with norsu does not show in App Launcher (happen again) Created: 03/Oct/22 Updated: 13/Oct/22 Resolved: 12/Oct/22 |
|
| Status: | Closed |
| Project: | Content Types |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Oanh Thai Hoang | Assignee: | Oanh Thai Hoang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Σ Remaining Estimate: | 0d | Remaining Estimate: | 0d |
| Σ Time Spent: | 5h | Time Spent: | 5h |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Attachments: |
|
|||||||||||||||||||||||||
| Sub-Tasks: |
|
|||||||||||||||||||||||||
| Template: |
|
|||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
|||||||||||||||||||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
|||||||||||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
|||||||||||||||||||||||||
| Date of First Response: | ||||||||||||||||||||||||||
| Epic Link: | SaaS TPR - ContentTypes | |||||||||||||||||||||||||
| Sprint: | DevX 21 | |||||||||||||||||||||||||
| Story Points: | 1 | |||||||||||||||||||||||||
| Team: |
| 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 |
| Comments |
| Comment by Christopher Zimmermann [ 03/Oct/22 ] |
|
oanh.thai I don't understand the images - they both seem to have the same apps - how do they relate to the problem you described? Also - you mention the problem happening on Staging. Is the problem only on Staging or is the same problem on Production as well? (Or maybe you didnt test that but you guess it to be true since the problem is on Staging? |
| Comment by Oanh Thai Hoang [ 04/Oct/22 ] |
|
Sorry czimmermann , I put the wrong img. I have just upload the right one |
| Comment by Oanh Thai Hoang [ 04/Oct/22 ] |
|
From admin x team: https://magnolia-cms.slack.com/archives/C02R765REB0/p1664866602268919. I suggest admincentral-editor for now as this role is for admincentral access and everybody needs it |
| Comment by Dai Ha [ 13/Oct/22 ] |
|
Verify with external user (assigned admin role) - new content apps are visible. |