sillsdev / sillsdev/languageforge-lexbox
Better error messages for "you're not allowed to see this project"
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 9
- Forks
- 8
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 49
Description
Describe the bug
When tech support people get sent a link to the lexbox project and try to follow it, they are likely to run into a GraphQL error because they don't have permission to run the project page's GQL query. E.g. the one that Jason N just ran into:
We should consider making a slightly friendlier error message for this use case; this is not going to be the only time a tech support person tries to access a project they weren't a member of, so something like "You're not a member of this project" and then a redirect to their dashboard would at least be a little clearer.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the lexbox project page's GraphQL query and reproduce the failure with an account that is not a project member. The work is done when unauthorized access shows a clear membership message and redirects the person to their dashboard.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, graphql
- Domain
- api, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100