Skip to content

Commit

Permalink
Restore 'can_close_case' permission
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-m committed Sep 23, 2017
1 parent 54981bf commit 87fe4de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-09-23 09:49
# Generated by Django 1.10.7 on 2017-09-23 10:38
from __future__ import unicode_literals

from django.db import migrations
Expand All @@ -14,6 +14,6 @@ class Migration(migrations.Migration):
operations = [
migrations.AlterModelOptions(
name='case',
options={'ordering': ['last_send'], 'permissions': (('can_view_all', 'Can view all cases'), ('can_view', 'Can view'), ('can_select_client', 'Can select client'), ('can_assign', 'Can assign new permissions'), ('can_send_to_client', 'Can send text to client'), ('can_manage_permission', 'Can assign permission'), ('can_add_record', 'Can add record'), ('can_change_own_record', 'Can change own records'), ('can_change_all_record', 'Can change all records'), ('can_default_notified', 'Can be notified by default'))},
options={'ordering': ['last_send'], 'permissions': (('can_view_all', 'Can view all cases'), ('can_view', 'Can view'), ('can_select_client', 'Can select client'), ('can_assign', 'Can assign new permissions'), ('can_send_to_client', 'Can send text to client'), ('can_manage_permission', 'Can assign permission'), ('can_add_record', 'Can add record'), ('can_change_own_record', 'Can change own records'), ('can_change_all_record', 'Can change all records'), ('can_close_case', 'Can close case'), ('can_default_notified', 'Can be notified by default'))},
),
]
1 change: 1 addition & 0 deletions poradnia/cases/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ class Meta:
('can_add_record', _('Can add record')),
('can_change_own_record', _("Can change own records")),
('can_change_all_record', _("Can change all records")),
('can_close_case', _("Can close case")),
('can_default_notified', _("Can be notified by default")), # Global permission
)

Expand Down

0 comments on commit 87fe4de

Please sign in to comment.