`flow` + close reading + some log statements as sanity checks for now
**Will do additional testing and update Test Plan before landing.**Put log statements in both `useThreadHasPermission` and `useThreadsWithPermission` to ensure that return values were as expected. Specifically that return values of `useThreadHasPermission` remained the same.