public function describeTeamsAction($envId) { if (!$this->getUser()->canManageAcl()) { throw new ApiInsufficientPermissionsException(); } $this->getEnv($envId); return $this->adapter('environmentTeam')->getDescribeResult([['envId' => $envId]]); }