hackforla / peopledepot

A project to setup a datastore for people and projects at HackforLA. The link below takes you to the code documentation
https://hackforla.github.io/peopledepot/
GNU General Public License v2.0
5 stars 24 forks source link

Update Event table must-could-should #279

Closed fyliu closed 3 weeks ago

fyliu commented 2 months ago

Overview

We need to update the event table model in django to utilize the practice area table instead of the outdated role table.

Details

The old model issues for this table are

Action Items

Changes Needed

Columns to Remove

Columns to Add

Additional Changes

JSON Example:

[
  {
    practice_area: engineering,
    permission_level: practiceLeadProject
  },
  {
    practice_area: pm,
    permission_level: practiceLeadProject
  }
]

Resources

Practice Areas:

Permission Types:

Test suggestions

fyliu commented 1 month ago

Questions:

Check the Test Suggestions section to see if that one makes sense.

We need an example usage of these JSON fields that utilizes Practice Area values.

Do all the Permission Types have to have a Practice Area value or only certain ones like practiceLeadProject, practiceLeadJrProject, memberProject need one?