Allow writing to all of pinaxcon/site_media/media
We previously allowed writing to the `documents` sub-directory, but we also need to write to `speaker_photos` to upload speaker photos. Simplest to allow writing to the `media` parent directory.
This commit is contained in:
		
							parent
							
								
									9e497ee27d
								
							
						
					
					
						commit
						c084c93192
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		
							
								
								
									
										4
									
								
								fabfile.py
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								fabfile.py
									
										
									
									
										vendored
									
									
								
							|  | @ -41,7 +41,9 @@ def deploy(c): | ||||||
|     df2.fix_permissions( |     df2.fix_permissions( | ||||||
|         c, |         c, | ||||||
|         read=['pinaxcon', 'vendor', 'static'], |         read=['pinaxcon', 'vendor', 'static'], | ||||||
|         read_write=[], |         # For speaker photos and attaching supporting docs to a proposal (select | ||||||
|  |         # "view details" after submitting). | ||||||
|  |         read_write=['pinaxcon/site_media/media'], | ||||||
|     ) |     ) | ||||||
|     df2.reload_uwsgi(c) |     df2.reload_uwsgi(c) | ||||||
|     df2.flush_memcached(c) |     df2.flush_memcached(c) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue