mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	This commit separates the "resolve topic" permissions from the topic editing permissions, through the introduction of setting - "can_resolve_topics_group" which user group whose members can resolve topics. Fixes #21811
		
			
				
	
	
		
			24 lines
		
	
	
		
			620 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			620 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# Generated by Django 5.0.5 on 2024-05-11 13:20
 | 
						|
 | 
						|
import django.db.models.deletion
 | 
						|
from django.db import migrations, models
 | 
						|
 | 
						|
 | 
						|
class Migration(migrations.Migration):
 | 
						|
    dependencies = [
 | 
						|
        ("zerver", "0685_remove_realmuserdefault_dense_mode_and_more"),
 | 
						|
    ]
 | 
						|
 | 
						|
    operations = [
 | 
						|
        migrations.AddField(
 | 
						|
            model_name="realm",
 | 
						|
            name="can_resolve_topics_group",
 | 
						|
            field=models.ForeignKey(
 | 
						|
                null=True,
 | 
						|
                on_delete=django.db.models.deletion.RESTRICT,
 | 
						|
                related_name="+",
 | 
						|
                to="zerver.usergroup",
 | 
						|
            ),
 | 
						|
        ),
 | 
						|
    ]
 |