openedx / openedx/frontend-app-admin-console
Unsupported roles show as empty in the roles assignment list
Open
Nobody has claimed this yet.
- #200 by @dcoa — closed without merging
release testing
willow
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 13
- Avg merge
- 1d 9m
- Merged PRs (30d)
- 6
Description
Description
When authz is enabled, some roles assigned outside of the admin console show up as empty rows in the assignment list.
For example, if a role like Beta Tester is assigned from the instructor dashboard, the assignment appears in the admin console, but the Role column is empty.
Steps to reproduce
- Enable authz.
- Go to a course as an admin for the course.
- Open the instructor dashboard.
- Assign a role that is not currently supported by the Roles and Permissions Management page, for example Beta Tester.
- Go to the Roles and Permissions Management page.
- Open the Team Members tab.
- Look for the user who received the role.
Expected behavior
The assignment list should clearly show the assigned role, or otherwise handle unsupported roles in a clear way.
Actual behavior
The assignment appears in the list, but the Role column is empty. This makes it hard to understand what role the user has for that scope or why is the user even listed.
Contributor guide
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.
Assessment
This issue has not been assessed yet.