'required string', ); } public function defineReturnType() { return 'bool'; } public function defineErrorTypes() { return array(); } protected function execute(ConduitAPIRequest $request) { $releeph_project = id(new ReleephProject()) ->loadOneWhere('phid = %s', $request->getValue('projectPHID')); $user = $request->getUser(); return $releeph_project->isAuthoritative($user); } }