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

Development questions for specifications of row and field security #298

Closed ethanstrominger closed 2 days ago

ethanstrominger commented 3 weeks ago

Overview

Identify security so that users only see what is applicable to them.

Action Items

Tables with row security

Any tables related to events are likely cancelled_event check_in event

Tables related to users

user cancelled_event (under review) check_in permission_assignment permission_history user user_availability user_check user_employment_change win

Tables related to projects

Note: Project itself does not need row level privileges. leadership_type project_status_history any tables related to events are likely cancelled_event check_in event

ExperimentsInHonesty commented 2 weeks ago

The constants.py file has the table permissions by user type https://github.com/hackforla/peopledepot/pull/308/files#diff-96652a08f40223957a22902bea632c87864087286aa1644fd3b4d4bc08e64c56