MainNav.getAppList logic does not allow - characters in scope names
Description
Prepare a platform package.json and stripes.config.json that contain a scope using a hyphen.
Note that despite having all permissions required to show that app, the app never shows on the main nav.
specific notes determined that this is because the regex on line 132 does not contain a -(hyphen) character as a possible match. The permission search logic does not construct a correct permission name and fails to find a match at that point.
Prepare a platform package.json and stripes.config.json with an _:
note that the app shows a button, but a white screen results when clicking the app button.
line 21 of moduleRoute.js excludes any characters except the word @folio for scope names,
Prepare a platform package.json and stripes.config.json that contain a scope using a hyphen.
Note that despite having all permissions required to show that app, the app never shows on the main nav.
specific notes determined that this is because the regex on line 132 does not contain a -(hyphen) character as a possible match. The permission search logic does not construct a correct permission name and fails to find a match at that point.
Prepare a platform package.json and stripes.config.json with an _:
note that the app shows a button, but a white screen results when clicking the app button.
line 21 of moduleRoute.js excludes any characters except the word @folio for scope names,