# Generated by Django 4.1.13 on 2025-06-26 08:13

from django.db import migrations


def migrate_remove_redundant_permission(apps, *args):
    perm_model = apps.get_model('auth', 'Permission')
    perm_model.objects.filter(codename__in=[
        'add_pushsecretexecution',
        'view_accountbackupexecution',
        'add_accountbackupexecution'
    ]).delete()


class Migration(migrations.Migration):
    dependencies = [
        ('rbac', '0003_auto_20211130_1037'),
    ]

    operations = [
        migrations.RunPython(migrate_remove_redundant_permission)
    ]
