* No detailed permissions due to django constraints on model-based permissions * instead: logic controlled permission by group membership * adds translations
35 lines
716 B
Python
35 lines
716 B
Python
"""
|
|
Author: Michel Peltriaux
|
|
Organization: Struktur- und Genehmigungsdirektion Nord, Rhineland-Palatinate, Germany
|
|
Contact: michel.peltriaux@sgdnord.rlp.de
|
|
Created on: 15.12.20
|
|
|
|
"""
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
TEST_ORGANISATION_DATA = [
|
|
{
|
|
"name": "Test_Official_1",
|
|
},
|
|
{
|
|
"name": "Test_Official_2",
|
|
},
|
|
{
|
|
"name": "Test_NGO_1",
|
|
},
|
|
{
|
|
"name": "Test_Company_1",
|
|
},
|
|
]
|
|
|
|
GROUPS_DATA = [
|
|
{
|
|
"name": _("Default"),
|
|
},
|
|
{
|
|
"name": _("Registration office"),
|
|
},
|
|
{
|
|
"name": _("Conservation office"),
|
|
},
|
|
] |