mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-02 04:53:36 +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
		
	
	
		
			535 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			535 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Generated by Django 4.2.1 on 2023-06-12 10:47
 | |
| 
 | |
| import django.db.models.deletion
 | |
| from django.db import migrations, models
 | |
| 
 | |
| 
 | |
| class Migration(migrations.Migration):
 | |
|     dependencies = [
 | |
|         ("zerver", "0453_followed_topic_notifications"),
 | |
|     ]
 | |
| 
 | |
|     operations = [
 | |
|         migrations.AddField(
 | |
|             model_name="usergroup",
 | |
|             name="can_mention_group",
 | |
|             field=models.ForeignKey(
 | |
|                 null=True, on_delete=django.db.models.deletion.RESTRICT, to="zerver.usergroup"
 | |
|             ),
 | |
|         ),
 | |
|     ]
 |