Bug #840
closed
  
    
    
  
uploadimage.php is redirected to index.php page when coming from an project when login is on
 
        
        Added by Anchi Cheng about 15 years ago.
        Updated about 15 years ago.
        
Affected Version:
Appion/Leginon 2.0.2
 
 
  
  
  
  Description
  
  CheckExperimentAccess function can not handle this special case with no expId, only projectId.
   
 
 
  
  
    
    
    
    
       - % Done changed from 0 to 100
 
    
    fixed with a cause to checkProjectAccessPrivilege. refs. r14720
This function deny the access if no projectId is passed, too.
	Testing:
1. login enabled.
2. choose from a project to upload images to a new session.
3. uploadimage.php should load.  The processing menu will look weird because the session is not yet created, but the page function should appear and work.
 
     
   
  
  
    
    
    
    
       - Status changed from Assigned to In Code Review
 
       - Assignee changed from Anchi Cheng to Amber Herold
 
    
    
     
   
  
  
    
    
    
    
       - Status changed from In Code Review to In Test
 
    
    reviewed and tested on fly with my sandbox.
 
     
   
  
  
    
    
    
    
       - Status changed from In Test to Closed
 
    
    
     
   
  
 
  
  
 
Also available in:  Atom
  PDF