2017-12-31 19:53:38 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Generated by Django 1.10.7 on 2017-12-31 19:53
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.db import migrations
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
2019-11-04 16:55:03 +00:00
|
|
|
dependencies = [("users", "0064_auto_20171231_0150")]
|
2017-12-31 19:53:38 +00:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterModelOptions(
|
2019-11-04 16:55:03 +00:00
|
|
|
name="ban",
|
|
|
|
options={
|
|
|
|
"permissions": (("view_ban", "Peut voir un objet ban quelqu'il soit"),)
|
|
|
|
},
|
2017-12-31 19:53:38 +00:00
|
|
|
),
|
|
|
|
migrations.AlterModelOptions(
|
2019-11-04 16:55:03 +00:00
|
|
|
name="listright",
|
|
|
|
options={
|
|
|
|
"permissions": (
|
|
|
|
("view_listright", "Peut voir un objet Group/ListRight"),
|
|
|
|
)
|
|
|
|
},
|
2017-12-31 19:53:38 +00:00
|
|
|
),
|
|
|
|
migrations.AlterModelOptions(
|
2019-11-04 16:55:03 +00:00
|
|
|
name="school",
|
|
|
|
options={"permissions": (("view_school", "Peut voir un objet school"),)},
|
2017-12-31 19:53:38 +00:00
|
|
|
),
|
|
|
|
migrations.AlterModelOptions(
|
2019-11-04 16:55:03 +00:00
|
|
|
name="serviceuser",
|
|
|
|
options={
|
|
|
|
"permissions": (("view_serviceuser", "Peut voir un objet serviceuser"),)
|
|
|
|
},
|
2017-12-31 19:53:38 +00:00
|
|
|
),
|
|
|
|
migrations.AlterModelOptions(
|
2019-11-04 16:55:03 +00:00
|
|
|
name="user",
|
|
|
|
options={
|
|
|
|
"permissions": (
|
|
|
|
("change_user_password", "Peut changer le mot de passe d'un user"),
|
|
|
|
("change_user_state", "Peut éditer l'etat d'un user"),
|
|
|
|
("change_user_force", "Peut forcer un déménagement"),
|
|
|
|
("change_user_shell", "Peut éditer le shell d'un user"),
|
|
|
|
(
|
|
|
|
"change_user_groups",
|
|
|
|
"Peut éditer les groupes d'un user ! Permission critique",
|
|
|
|
),
|
|
|
|
("view_user", "Peut voir un objet user quelquonque"),
|
|
|
|
)
|
|
|
|
},
|
2017-12-31 19:53:38 +00:00
|
|
|
),
|
|
|
|
migrations.AlterModelOptions(
|
2019-11-04 16:55:03 +00:00
|
|
|
name="whitelist",
|
|
|
|
options={
|
|
|
|
"permissions": (("view_whitelist", "Peut voir un objet whitelist"),)
|
|
|
|
},
|
2017-12-31 19:53:38 +00:00
|
|
|
),
|
|
|
|
]
|