Open Baschdl opened 4 years ago
Only user with 'can_approve_type_a' or 'can_approve_type_b' should see the corresponding approval interfaces and be able to approve someone. Currently, we only check for is_staff
is_staff
https://github.com/match4everyone/match4everything/blob/ac991347e22c99b2ca91e181adc1bd8dde9be43c/backend/apps/matching/views/staff_approvals.py#L19
Only user with 'can_approve_type_a' or 'can_approve_type_b' should see the corresponding approval interfaces and be able to approve someone. Currently, we only check for
is_staff
https://github.com/match4everyone/match4everything/blob/ac991347e22c99b2ca91e181adc1bd8dde9be43c/backend/apps/matching/views/staff_approvals.py#L19