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

Combine org site apps #752

Merged
merged 18 commits into from
Jul 25, 2024
Merged

Conversation

dpgraham4401
Copy link
Member

Description

Combines the orgsite django app with the org app. the Site entity/model is now appart of the the organization app since there is no discernable boundary between the two concepts, a site cannot exists without an organization.

In addition, it removes the SiteAccess and OrgAccess models in favor of our new permission/roles implementation that makes use of django guardian.

PLEASE NOTE: ALL CONTRIBUTORS WILL NEED TO DROP THEIR DATABASE TO SPIN UP LOCAL DEVELOPMENT ENVIRONMENTS AFTER THIS PR... sorry.

Issue ticket number and link

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@github-actions github-actions bot added server Related to backend workings (Django/Rest API) test Unit tests are, or need to be, included labels Jul 25, 2024
@dpgraham4401
Copy link
Member Author

closes #744
closes #746
closes #745

@dpgraham4401 dpgraham4401 merged commit 426c503 into USEPA:main Jul 25, 2024
6 checks passed
@dpgraham4401 dpgraham4401 deleted the combine_org_site_apps branch July 25, 2024 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server Related to backend workings (Django/Rest API) test Unit tests are, or need to be, included
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant