The header computed five team permissions, each with its own my_team
and roles queries, and all of them restarted on any write to the
current user or team record. Add observeRolesForTeam, keyed on the team
id and role strings, share it in the header and derive each permission
from it. observePermissionForTeam now builds on the same helper.
Co-authored-by: Jesse Hallam <lieut-data@users.noreply.github.com>