mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	This commit adds a new can_mention_group setting which will be used to determine who can mention a particular group. Fixes a part of #25927.
		
			
				
	
	
		
			21 lines
		
	
	
		
			531 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			531 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# Generated by Django 4.2.1 on 2023-06-12 10:58
 | 
						|
 | 
						|
import django.db.models.deletion
 | 
						|
from django.db import migrations, models
 | 
						|
 | 
						|
 | 
						|
class Migration(migrations.Migration):
 | 
						|
    dependencies = [
 | 
						|
        ("zerver", "0455_set_default_for_can_mention_group"),
 | 
						|
    ]
 | 
						|
 | 
						|
    operations = [
 | 
						|
        migrations.AlterField(
 | 
						|
            model_name="usergroup",
 | 
						|
            name="can_mention_group",
 | 
						|
            field=models.ForeignKey(
 | 
						|
                on_delete=django.db.models.deletion.RESTRICT, to="zerver.usergroup"
 | 
						|
            ),
 | 
						|
        ),
 | 
						|
    ]
 |