Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot submit new GPO project/response request #186

Open
jlherring opened this issue Jan 21, 2025 · 2 comments
Open

Cannot submit new GPO project/response request #186

jlherring opened this issue Jan 21, 2025 · 2 comments
Assignees

Comments

@jlherring
Copy link
Contributor

Not sure who this needs to go through now...

Working with Katie and would appear the new response form is not working for the GeoPlatform. The Primary Auth Group drop-down is empty, but required. Confirmed I am logged in w/ the GPO and am a coordinator, same for Katie.

I checked and I am able to successfully log in w/t GeoSecure and request a new project (form does not include Primary Auth Group). So def appears to be a GPO issue.

Image

@tbock
Copy link
Collaborator

tbock commented Jan 21, 2025

The bug is such that if you don't touch the role the auth group does not populate. If you change the role, which in this case likely needs to be EPA Publisher anyways, the auth group options will populate. Should be able to have a fix today. @jlherring

@tbock
Copy link
Collaborator

tbock commented Jan 21, 2025

The issue is that the form respects if there is a default option for Role configured but does not query to get associated auth groups if needed. I believe this is mostly an issue for superusers because the only default role configured is in geosecure but that does not require an auth group. However if a superuser logs in via geoplatform all available roles are returned not just the ones configured for the portal you authenticated through.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants