api: allow editing teams with only team:write permission
api: allow editing teams with only team:write permission

This restores behavior that changed from 9a16f573f23

ifduyue/sentry,ifduyue/sentry,jean/sentry,gencer/sentry,jean/sentry,beeftornado/sentry,looker/sentry,mvaled/sentry,jean/sentry,gencer/sentry,looker/sentry,beeftornado/sentry,looker/sentry,jean/sentry,gencer/sentry,ifduyue/sentry,gencer/sentry,mvaled/sentry,jean/sentry,ifduyue/sentry,ifduyue/sentry,mvaled/sentry,mvaled/sentry,looker/sentry,beeftornado/sentry,gencer/sentry,mvaled/sentry,looker/sentry,mvaled/sentry