Commit abe5115
authored
[ENG-9835] Admin contributors getting errors while reviewing draft registrations #853
- Ticket: https://openscience.atlassian.net/browse/ENG-9835
- Feature flag: n/a
## Purpose
Users with administrative permissions on a draft registration cannot access or edit certain sections of the draft (e.g., Analyses section). Instead, they receive a “You Need Permission” error. This happens even when the user is an admin on both the project and the draft registration, and even when accessing the draft through My Registrations → Drafts, which should grant full access.
This issue is affecting multiple users across multiple draft registrations, and previous patterns we thought explained the issue (e.g., drafts created before a certain date, admin mismatch between project and registration) are no longer consistent.
## Summary of Changes
avoid /request-access/ page redirection on /registries/drafts/* reviewing if some APIs returns 403 (/children, /files, ...)1 parent 49eded8 commit abe5115
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
0 commit comments