mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 01:32:05 +01:00 
			
		
		
		
	Juries have more rights
This commit is contained in:
		@@ -157,7 +157,7 @@ class DocumentView(LoginRequiredMixin, View):
 | 
			
		||||
 | 
			
		||||
        if isinstance(doc, Solution):
 | 
			
		||||
            for pool in doc.pools.all():
 | 
			
		||||
                if request.user in pool.juries:
 | 
			
		||||
                if request.user in pool.juries.all():
 | 
			
		||||
                    grant = True
 | 
			
		||||
                    break
 | 
			
		||||
                if pool.round == 2 and timezone.now() < doc.tournament.date_solutions_2:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user