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

Refactor system to support multiple AGOL/portal instance #117

Closed
tbock opened this issue Feb 1, 2023 · 0 comments
Closed

Refactor system to support multiple AGOL/portal instance #117

tbock opened this issue Feb 1, 2023 · 0 comments
Assignees

Comments

@tbock
Copy link
Collaborator

tbock commented Feb 1, 2023

Currently the system has only been tested/used with AGOL. We now need to be able to support multiple instance including Portal. I dont think the architecture has to change too much at this point. Currently the database already has a top level AGOL class. Everything that reference that will need to change slightly. At the moment all references to AGOL model records do something like this

agol = AGOL.objects.first()
.

This needs to change so that the ResponseProject model has the ability to define which portal/agol instance it is connected to (what instance to pull groups from, check for existing accounts, create accounts etc.). Since AccountRequests are already tied to a ResponseProject that should be the main change needed to the data model.

rdmccann added a commit that referenced this issue Feb 15, 2023
… authentication

Completed support for portal / agol. Admin and front end limit what's shown based on the logged in users current portal/agol unless superuser.

Password auth removed and login form reformatted to show both social auth providers nicely with not username/password fields available.
rdmccann added a commit that referenced this issue Feb 28, 2023
… authentication

Completed support for portal / agol. Admin and front end limit what's shown based on the logged in users current portal/agol unless superuser.

Password auth removed and login form reformatted to show both social auth providers nicely with not username/password fields available.
@tbock tbock closed this as completed Oct 15, 2024
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

No branches or pull requests

2 participants