8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 11:23:10 +00:00

Ns et pas Nx

This commit is contained in:
Gabriel Detraz 2017-12-31 21:00:52 +01:00 committed by root
parent 59c9a9d098
commit b6d22dc555
2 changed files with 20 additions and 1 deletions

View file

@ -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'),)},
),
]

View file

@ -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