Helpdesk: Configure Team Member View to Show Own and Assigned Tickets

I’m customizing the Helpdesk module to ensure Team Members can only view:

Tickets they raised.

Tickets assigned to them.

Issues Faced:

Only tickets raised by the user are visible; assigned tickets don’t appear.

Unsure if this can be fully managed via Role Permissions Manager or if scripting is needed.

Questions:

How can I dynamically filter tickets for both criteria in the list view?

Is scripting required, or is there a simpler way to achieve this with roles and permissions?