Bug: Case Contact Contact Type Selection #5605
Labels
Difficulty: Advanced
Spans multiple domains and requires more advanced coding knowledge
Help Wanted
This is a special label that enables github to showcase issues that want help
⏯️ Frontend
Make things look fresh & work better on the frontend.
Type: Bug
Projects
Can create contact types on a case contact that should not be allowed on it.
Steps:
Volunteer manages cases A and B.
Case A => Restrict contact types to just Casa
Case B => Restrict contact types to just Judge.
As volunteer go to page for Case A, create new case contact.
Available cases will be A and B with only A selected.
Available contact types will be Casa and Judge.
Select Judge, complete form.
Case contact now has a contact type if should have been restricted from having.
If you go to edit page for that case contact the contact type will not appear but it is on the record.
CaseContact.find(case_id).contact_types
will include Judge.https://www.loom.com/share/434f152958a5440c8bce9830c4c6f3b9?sid=bdf91748-7e24-4c47-9b71-098b8c91a83d
Possible Solutions / Considerations
The text was updated successfully, but these errors were encountered: