mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	This commit does not add the logic of using this setting to actually check the permission on the backend. That will be done in a later commit. Adding the setting breaks the frontend, since the frontend tries to find a dropdown widget for the setting automatically. To avoid this, we've added a small temporary if statement to `settings_org.js`.
		
			
				
	
	
		
			24 lines
		
	
	
		
			582 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			582 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# Generated by Django 5.0.8 on 2024-09-04 10:30
 | 
						|
 | 
						|
import django.db.models.deletion
 | 
						|
from django.db import migrations, models
 | 
						|
 | 
						|
 | 
						|
class Migration(migrations.Migration):
 | 
						|
    dependencies = [
 | 
						|
        ("zerver", "0587_savedsnippet"),
 | 
						|
    ]
 | 
						|
 | 
						|
    operations = [
 | 
						|
        migrations.AddField(
 | 
						|
            model_name="realm",
 | 
						|
            name="can_create_groups",
 | 
						|
            field=models.ForeignKey(
 | 
						|
                null=True,
 | 
						|
                on_delete=django.db.models.deletion.RESTRICT,
 | 
						|
                related_name="+",
 | 
						|
                to="zerver.usergroup",
 | 
						|
            ),
 | 
						|
        ),
 | 
						|
    ]
 |