I want to add another skipMemberAdminRoleCheck argument to this function. Can't have two optional arguments, so going to make them both required.
Only two callsites to threadIsWithBlockedUserOnly and they're pretty straightforward.
Depends on D12149
Do you think it would make sense to move this into authorization middleware? So you can specify something like
I don't remember exactly what the API for the reports service is, but right now this diff would allow everyone to "authenticate" to the reports service by just not providing credentials (and get the service token by default). This should probably be scoped per (group of) endpoints.