code/control/PlanDispatcher.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 35-49 (lines=15) @@ | 
                                                            
                                    | 32 |  | 		self::ACTION_PLAN | 
                                                            
                                    | 33 |  | 	]; | 
                                                            
                                    | 34 |  |  | 
                                                            
                                    | 35 |  | 	public function init() { | 
                                                            
                                    | 36 |  | 		parent::init(); | 
                                                            
                                    | 37 |  |  | 
                                                            
                                    | 38 |  | 		$this->project = $this->getCurrentProject(); | 
                                                            
                                    | 39 |  |  | 
                                                            
                                    | 40 |  | 		if (!$this->project) { | 
                                                            
                                    | 41 |  | 			return $this->project404Response(); | 
                                                            
                                    | 42 |  | 		} | 
                                                            
                                    | 43 |  |  | 
                                                            
                                    | 44 |  | 		// Performs canView permission check by limiting visible projects | 
                                                            
                                    | 45 |  | 		$this->environment = $this->getCurrentEnvironment($this->project); | 
                                                            
                                    | 46 |  | 		if (!$this->environment) { | 
                                                            
                                    | 47 |  | 			return $this->environment404Response(); | 
                                                            
                                    | 48 |  | 		} | 
                                                            
                                    | 49 |  | 	} | 
                                                            
                                    | 50 |  |  | 
                                                            
                                    | 51 |  | 	/** | 
                                                            
                                    | 52 |  | 	 * | 
                                                                        
                 
                                                            
                    
code/control/EnvironmentOverview.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 27-35 (lines=9) @@ | 
                                                            
                                    | 24 |  | 		'deployment' | 
                                                            
                                    | 25 |  | 	]; | 
                                                            
                                    | 26 |  |  | 
                                                            
                                    | 27 |  | 	public function init() { | 
                                                            
                                    | 28 |  | 		parent::init(); | 
                                                            
                                    | 29 |  | 		$this->project = $this->getCurrentProject(); | 
                                                            
                                    | 30 |  | 		if (!$this->project) { | 
                                                            
                                    | 31 |  | 			return $this->project404Response(); | 
                                                            
                                    | 32 |  | 		} | 
                                                            
                                    | 33 |  | 		// Performs canView permission check by limiting visible projects | 
                                                            
                                    | 34 |  | 		$this->environment = $this->getCurrentEnvironment($this->project); | 
                                                            
                                    | 35 |  | 	} | 
                                                            
                                    | 36 |  |  | 
                                                            
                                    | 37 |  | 	/** | 
                                                            
                                    | 38 |  | 	 * | 
                                                                        
                 
                                                            
                    
code/control/ApprovalsDispatcher.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 49-62 (lines=14) @@ | 
                                                            
                                    | 46 |  | 	 */ | 
                                                            
                                    | 47 |  | 	private static $_cache_project_members = null; | 
                                                            
                                    | 48 |  |  | 
                                                            
                                    | 49 |  | 	public function init() { | 
                                                            
                                    | 50 |  | 		parent::init(); | 
                                                            
                                    | 51 |  |  | 
                                                            
                                    | 52 |  | 		$this->project = $this->getCurrentProject(); | 
                                                            
                                    | 53 |  | 		if (!$this->project) { | 
                                                            
                                    | 54 |  | 			return $this->project404Response(); | 
                                                            
                                    | 55 |  | 		} | 
                                                            
                                    | 56 |  |  | 
                                                            
                                    | 57 |  | 		// Performs canView permission check by limiting visible projects | 
                                                            
                                    | 58 |  | 		$this->environment = $this->getCurrentEnvironment($this->project); | 
                                                            
                                    | 59 |  | 		if (!$this->environment) { | 
                                                            
                                    | 60 |  | 			return $this->environment404Response(); | 
                                                            
                                    | 61 |  | 		} | 
                                                            
                                    | 62 |  | 	} | 
                                                            
                                    | 63 |  |  | 
                                                            
                                    | 64 |  | 	/** | 
                                                            
                                    | 65 |  | 	 * @param \SS_HTTPRequest $request | 
                                                                        
                 
                                                            
                    
code/control/DeployDispatcher.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 46-60 (lines=15) @@ | 
                                                            
                                    | 43 |  | 		self::ACTION_DEPLOY | 
                                                            
                                    | 44 |  | 	]; | 
                                                            
                                    | 45 |  |  | 
                                                            
                                    | 46 |  | 	public function init() { | 
                                                            
                                    | 47 |  | 		parent::init(); | 
                                                            
                                    | 48 |  |  | 
                                                            
                                    | 49 |  | 		$this->project = $this->getCurrentProject(); | 
                                                            
                                    | 50 |  |  | 
                                                            
                                    | 51 |  | 		if (!$this->project) { | 
                                                            
                                    | 52 |  | 			return $this->project404Response(); | 
                                                            
                                    | 53 |  | 		} | 
                                                            
                                    | 54 |  |  | 
                                                            
                                    | 55 |  | 		// Performs canView permission check by limiting visible projects | 
                                                            
                                    | 56 |  | 		$this->environment = $this->getCurrentEnvironment($this->project); | 
                                                            
                                    | 57 |  | 		if (!$this->environment) { | 
                                                            
                                    | 58 |  | 			return $this->environment404Response(); | 
                                                            
                                    | 59 |  | 		} | 
                                                            
                                    | 60 |  | 	} | 
                                                            
                                    | 61 |  |  | 
                                                            
                                    | 62 |  | 	/** | 
                                                            
                                    | 63 |  | 	 * @param \SS_HTTPRequest $request |