diff --git a/machines/migrations/0071_auto_20171231_2100.py b/machines/migrations/0071_auto_20171231_2100.py new file mode 100644 index 00000000..776edd82 --- /dev/null +++ b/machines/migrations/0071_auto_20171231_2100.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.7 on 2017-12-31 20:00 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('machines', '0070_auto_20171231_1947'), + ] + + operations = [ + migrations.AlterModelOptions( + name='ns', + options={'permissions': (('view_ns', 'Peut voir un objet ns'),)}, + ), + ] diff --git a/machines/models.py b/machines/models.py index ffdeb793..95c0962a 100644 --- a/machines/models.py +++ b/machines/models.py @@ -898,7 +898,7 @@ class Ns(models.Model): class Meta: permissions = ( - ("view_nx", "Peut voir un objet nx"), + ("view_ns", "Peut voir un objet ns"), ) @cached_property