We need to get rid of usages of threads.default_role throughout the codebase so we can eventually drop the column.
This diff handles the usage in validate-role-permissions.js
Existing code: Fetches the default_role for the thread for each role so we can determine what permissions blob the role should have.
Depends on D9977
Addresses part of ENG-5833