[MGNLGQL-164] GraphQL in 6.3: Cannot access GraphQL app and GraphQL API Created: 08/Sep/23 Updated: 17/Jan/24 Resolved: 19/Dec/23 |
|
| Status: | Closed |
| Project: | Magnolia GraphQL |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.0 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Anh Vu | Assignee: | Quach Hao Thien |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | VN-Maintenance, dx-core-6.3 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 1.75d | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| 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
|
||||||||
| Release notes required: |
Yes
|
||||||||
| Date of First Response: | |||||||||
| Epic Link: | Sane Default Roles & Groups | ||||||||
| Team: | |||||||||
| Work Started: | |||||||||
| Approved: |
Yes
|
||||||||
| Description |
|
With "superuser" account users cannot access GraphQL app or GraphQL API. Steps to reproduce:
Actual result:
Expected result: Workaround: 2. Another way is that we can create a new user account with superuser role and then use the user to access GraphQL Note: The issue is that "superuser" account does not have permission to access "./*" url pattern. See logs below:
|
| Comments |
| Comment by Quach Hao Thien [ 19/Dec/23 ] |
|
RN: Since 2.0, the graphql-developer user role, which is assigned to the developers user group, is required to access GraphQL App and API |