Various permission tweaks
Update team_details deletion behavior