-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Create Table: permission_type #24
Comments
Currently, this table isn't storing what each permission allows, nor is that information being stored somewhere else. Do we want to store the CRUD information here? Could use booleans (can_create, can_read, can_update, can_delete), it would depend on how we want to set up permissions |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Handling permissions definitely is complex and complicated. I'd love to investigate more on how everything relates to each other to get clarity. Might be hard with the new job, but I'll try to be at the meeting tomorrow a bit after 5pm. |
This comment was marked as resolved.
This comment was marked as resolved.
@alexlaw528
|
|
Closing issue since the PR is merged. |
Dependency
Overview
We need to create the permission_type table so that we can update a shared data store across hackforla.org, vrms, civictechjobs, and tables (onboarding) project.
Details
A table and a model are the same thing
Action Items
compare and check off the data fields (below) against the ERD. Note any fields in the ERD that's missing from the list. (see Resources)
compare the check off associated tables (below) against the ERD. Note any associated tables in the ERD that's missing from the list (see Resources)
permission
table is a related table and is not yet createdpermission_history
table is a related table and is not yet createdcreate a single model in Django (defining schema)
add seed data
write a test for the relationships this model will have with other models (e.g., creating a user and assigning them a set of permissions on a project).
write an API end point
write API unit tests
document the endpoint
Resources/Instructions
Description
Dictionary of permission types used in #22
Data Fields
Copied from spreadsheet and checked off according to ERD. (unchecked items indicate a mismatch between ERD and spreadsheet, which requires a review)
In ERD only (having items here indicates a mismatch, which requires a review)
Associated Tables
Copied from spreadsheet and checked off according to ERD. (unchecked items indicate a mismatch between ERD and spreadsheet, which requires a review)
In ERD only (having items here indicates a mismatch, which requires a review)
The text was updated successfully, but these errors were encountered: