# Generated by Django 4.2.6 on 2023-10-11 13:37

from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("authentik_core", "0031_alter_user_type"),
        ("authentik_rbac", "0001_initial"),
    ]

    operations = [
        migrations.AlterModelOptions(
            name="group",
            options={"verbose_name": "Group", "verbose_name_plural": "Groups"},
        ),
        migrations.AlterModelOptions(
            name="token",
            options={
                "permissions": [("view_token_key", "View token's key")],
                "verbose_name": "Token",
                "verbose_name_plural": "Tokens",
            },
        ),
        migrations.AlterModelOptions(
            name="user",
            options={
                "permissions": [
                    ("reset_user_password", "Reset Password"),
                    ("impersonate", "Can impersonate other users"),
                    ("assign_user_permissions", "Can assign permissions to users"),
                    ("unassign_user_permissions", "Can unassign permissions from users"),
                ],
                "verbose_name": "User",
                "verbose_name_plural": "Users",
            },
        ),
        migrations.AddField(
            model_name="group",
            name="roles",
            field=models.ManyToManyField(
                blank=True, related_name="ak_groups", to="authentik_rbac.role"
            ),
        ),
    ]
