Odebrání orgům právo řešitel
This commit is contained in:
		
							parent
							
								
									1a31a5b034
								
							
						
					
					
						commit
						fb79951ee7
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -22,6 +22,7 @@ def add_perms(apps, schema_editor): | |||
|     for org in User.objects.all(): | ||||
|         if org and org.is_staff: | ||||
|             org.user_permissions.add(org_perm) | ||||
|             org.user_permissions.remove(resitel_perm) | ||||
| 
 | ||||
| 
 | ||||
| class Migration(migrations.Migration): | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Jonas Havelka
						Jonas Havelka