I have a case that I need to limit access to a ticket to users who are members of "Request participants" & and imported group ie. "Legal".
I was looking at how to achieve this, but I only found a workaround to use Jira automation to remove participants if they are not members of the "Legal" group, but this happens only after they are added to "Request participants" so in theory they get granted access for a moment.
I do have scriptrunner if maybe there is a custom solution.