Changes how the organization is retrieved (from the Org ID rather than current user). This approach aligns with how the similar task is performed in the admin dashboard
Updates translation JSON to remove hardcoding of org resources
Remove unused post requests in edit_organization and authorize.edit_organization
Non-obvious technical information
This bug was a result of how Organization was accessed and passed into edit_organization.html. The bug has been resolved by passing organization_id as a parameter, rather than extracting it in relation to the current user.
Checklist before requesting a review
[X] pre-commit run --all-files (run before pushing)
[X] pytest if applicable
[X] Link issue
[X] Update relevant documentation if applicable: doc strings, readme, poetry.
Describe your changes
This PR will close #259
Non-obvious technical information
This bug was a result of how Organization was accessed and passed into
edit_organization.html
. The bug has been resolved by passing organization_id as a parameter, rather than extracting it in relation to the current user.Checklist before requesting a review