diff --git a/gracedb/superevents/migrations/0002_fix_permission_typo.py b/gracedb/superevents/migrations/0002_fix_permission_typo.py new file mode 100644 index 0000000000000000000000000000000000000000..78ddb4f6609a6136d851fc11395b43699b081625 --- /dev/null +++ b/gracedb/superevents/migrations/0002_fix_permission_typo.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.18 on 2019-01-09 17:43 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('superevents', '0001_initial'), + ] + + operations = [ + migrations.AlterModelOptions( + name='superevent', + options={'ordering': ['-id'], 'permissions': (('add_test_superevent', 'Can add test superevent'), ('add_mdc_superevent', 'Can add MDC superevent'), ('change_test_superevent', 'Can change test superevent'), ('change_mdc_superevent', 'Can change MDC superevent'), ('confirm_gw_superevent', 'Can confirm superevent as GW'), ('confirm_gw_test_superevent', 'Can confirm test superevent as GW'), ('confirm_gw_mdc_superevent', 'Can confirm MDC superevent as GW'), ('annotate_superevent', 'Can add log messages and EM observation data to superevent'), ('expose_superevent', 'Can expose a superevent to be viewed by external users'), ('hide_superevent', 'Can hide a superevent from external users'), ('view_superevent', 'Can view superevent'))}, + ), + ] diff --git a/gracedb/superevents/models.py b/gracedb/superevents/models.py index 87171c7bd91a49d236a520e1fb09f3e059fc50fe..fa2ad9cc1db922c273788e083e2e1a89d41586c6 100644 --- a/gracedb/superevents/models.py +++ b/gracedb/superevents/models.py @@ -133,7 +133,7 @@ class Superevent(CleanSaveModel, AutoIncrementModel): 'GW'), ('confirm_gw_mdc_superevent', 'Can confirm MDC superevent as GW'), ('annotate_superevent', 'Can add log messages and ' - 'EM observation data to uperevent'), + 'EM observation data to superevent'), ('expose_superevent', 'Can expose a superevent to be viewed by ' 'external users'), ('hide_superevent', 'Can hide a superevent from external users'),