E.g. to setup security so that
user Tom
can see issues from project Big project
if issues are in status Done
You can do this if you implement issue restriction at the Issue Level (https://confluence.atlassian.com/jira/configuring-issue-level-security-185729623.html) and then remove it using a post function to remove it at the end of the issue's lifecycle.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.