openedx / openedx/frontend-app-admin-console

Unsupported roles show as empty in the roles assignment list

Open
#179 3 comments 0 reactions 1 assignee View on GitHub

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

  1. Enable authz.
  2. Go to a course as an admin for the course.
  3. Open the instructor dashboard.
  4. Assign a role that is not currently supported by the Roles and Permissions Management page, for example Beta Tester.
  5. Go to the Roles and Permissions Management page.
  6. Open the Team Members tab.
  7. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.