| 
					
				 | 
			
			
				@@ -190,6 +190,10 @@ class AppExportApi(Resource): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @get_app_model 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     def get(self, app_model): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         """Export app""" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        # The role of the current user in the ta table must be admin, owner, or editor 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if not current_user.is_editor: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            raise Forbidden() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         app_service = AppService() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return { 
			 |