adds permission checking around creating a team and deleting a team (fixes #1525)
adds permission checking around creating a team and deleting a team (fixes #1525)

rutaihwa/newww,nexdrew/newww,kemitchell/newww,watilde/newww,aredridel/newww,kemitchell/newww,nexdrew/newww,rutaihwa/newww,watilde/newww,nexdrew/newww,watilde/newww,rutaihwa/newww,aredridel/newww,kemitchell/newww,aredridel/newww