[Bug] Superadmins get error loading org Projects and Plans

Open
#482 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Domain
full-stack

Research direction

The payload names only the /en-US/admin/projects page and says it works for regular org admins but fails for super admins, so start by reproducing the failure as a super admin and comparing the request with an org admin's. No source files are named, and this repository is the documentation tracker, so the code will be in the application repo. Done when a super admin sees their org's projects on that page without the long load or error.

Written by the indexing model from the issue text.

Description

bug
Summary of the issue

When a super admin goes to org project list, it tries to load a long time and then gives an error instead of giving the projects from just their org

Steps to Reproduce

Specific steps to reproduce the issue:

  1. Log in as a Super Admin
  2. Visit the Org Projects page
Actual behavior

The page tries to load a long time and then gives an error

Expected behavior

It should should all the Projects from anyone in their current org

Super Admins do still need a way to see all plans - perhaps a filter option like the Admin Users page, where Super Admins can choose to see All plans or select any specific org to see plans from there.

Reproduction Chance

100%

Screenshots
Image
Links to impacted areas

https://dmptool-dev.uc3dev.cdlib.net/en-US/admin/projects

Workarounds

It seems to work for regular org admins

Environment/Context

Dev, Chrome

Found testing https://github.com/CDLUC3/dmptool-doc/issues/376#issuecomment-6197447915

Need to optimize the BE Query so that Super Admins can get to all plans without timing out, use new OpenSearch index of plans

Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from CDLUC3/dmptool-doc

All issues in CDLUC3/dmptool-doc

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.