Skip to content

Conversation

@mkovalua
Copy link
Contributor

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, ...)

Screenshot(s)

3820-de45-4c60-adcf-a6b0f8d7723d.1.mp4

Side Effects

Maybe it will be worth to get DB dump for some data to figure out why the issue might occur

https://openscience.atlassian.net/browse/ENG-9835?focusedCommentId=100691

QA Notes

…ng if some APIs returns 403 (/children, /files, ...)
@brianjgeiger brianjgeiger merged commit abe5115 into CenterForOpenScience:feature/pbs-25-24 Jan 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants