def METHOD_NAME(organization, user):
    owners_team = get_or_create_organization_owners_team(organization.profile)
    members_team = get_organization_members_team(organization.profile)
    for perm in get_perms_for_model(Team):
        assign_perm(perm.codename, user, owners_team)
        assign_perm(perm.codename, user, members_team)