Skip to content

Conversation

chriscarrollsmith
Copy link
Contributor

@chriscarrollsmith chriscarrollsmith commented Dec 1, 2024

  • Restructured database models with correctly specified many-to-many relationships
  • Added unit tests for restructured database models
  • Added a working organizations.html component with Create Organization button to the user profile page
  • Almost entirely rewrote the organization and role routes
  • Used POST and GET for all routes, because HTML forms don't support other methods (closes Assess whether we should use POST methods for all operations or introduce other methods #51)
  • Used eager loading of user's roles and organizations in all authenticated routes so we have easy access to their permissions and such
  • Moved user password to a separate database model (just to make it a little less likely that this gets accidentally exposed to the client)
  • Created a preliminary user/organization.html page that needs to be extended to provide an interface for all organization/role management functionality

@chriscarrollsmith chriscarrollsmith merged commit 0ed821a into main Dec 1, 2024
2 checks passed
@chriscarrollsmith chriscarrollsmith deleted the 1-finish-implementing-roleorg-system branch December 1, 2024 22:31
@chriscarrollsmith chriscarrollsmith self-assigned this Dec 1, 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

Successfully merging this pull request may close these issues.

Assess whether we should use POST methods for all operations or introduce other methods
1 participant