Skip to content

Commit

Permalink
Added reports right (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdethier committed Oct 18, 2023
1 parent 7813ecd commit 632662e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions report/migrations/0010_add_extra_right.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Generated by Django 3.2.16 on 2023-10-06 13:48

from django.db import migrations

from core.utils import insert_role_right_for_system


def add_rights(apps, schema_editor):
insert_role_right_for_system(64, 131200) # reports


class Migration(migrations.Migration):

dependencies = [
('report', '0009_set_managed_to_true'),
]

operations = [
migrations.RunPython(add_rights),
]

0 comments on commit 632662e

Please sign in to comment.