Forums » Development »
Added by salman mp almost 2 years ago
I'm developing a new plugin that needs to query issues based on custom field values (regardless of the custom field's visibility to the user executing the query). Is it safe to temporarily change User.current to an admin user and then, after the query block, revert it to the original user?