Try ERPNext Buy Support Partners Foundation

Condition based document access

I have a scenario where a user raises a ticket that relates to various departments like accounts, hr, etc. When he looks at the tickets screen he should be able to see either the tickets created by himself or being assigned to himself or his department.

Tickets does not get automagically assigned to people, but as long as someone does the assignment part for them, rest of the part can be achieve using Role and Permissions.

https://erpnext.com/docs/user/manual/en/setting-up/users-and-permissions/role-based-permissions

I don’t see any option in role permissions manager to see only tickets assigned to self. I see created by me bit not assigned to me