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,

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

relates to

Checklist

hide

TestRail: Results

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Sprint

Development Team

Stripes Force

Fix versions

Release

Q2 2020 Hot Fix #3

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created September 15, 2020 at 6:58 PM
Updated October 19, 2020 at 4:26 PM
Resolved September 29, 2020 at 5:34 PM
TestRail: Cases
TestRail: Runs