Ensure Request assignee has permissions on Program, in order to see Request.

Ref b/15472826
Correct.  It turns -1 (not found in array) into 0 (falsy), and anything other than -1 (found in array) into something other than 0 (truthy).

IOW, ~ converts found-in-array indexes into found-or-not booleans.