Skip to content
Snippets Groups Projects
Commit bbdf4e0d authored by Martin Burchell's avatar Martin Burchell
Browse files

Add permission for editing feedback

parent 748f29a8
No related branches found
No related tags found
1 merge request!124Staging
# -*- coding: utf-8 -*-
# Generated by Django 1.11.15 on 2019-05-30 15:52
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('data_layer', '0017_auto_20190523_2245'),
]
operations = [
migrations.AlterModelOptions(
name='message',
options={'permissions': (('can_change_message_body', 'Can change feedback'),)},
),
]
......@@ -27,6 +27,11 @@ class DataLayerModel(models.Model):
class Message(DataLayerModel):
class Meta:
permissions = (
('can_change_message_body', "Can change feedback"),
)
# FIXME(lukem): We're thinking that this can be named 'source' or
# `original` or something like that since it more closely resembles our
# current thinking and since we're adding the new `translation` field,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment