Filters to restrict granting/revoking access to files Closes #4952