From 31741f4b145a820b3f0863c51cd3e02a98d86b74 Mon Sep 17 00:00:00 2001 From: Alexis Koralewski Date: Thu, 2 Sep 2021 13:27:00 +0200 Subject: [PATCH] Add one user profile for each role --- src/core/pyros_django/misc/fixtures/initial_fixture_TZ.json | 248 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 248 insertions(+), 0 deletions(-) diff --git a/src/core/pyros_django/misc/fixtures/initial_fixture_TZ.json b/src/core/pyros_django/misc/fixtures/initial_fixture_TZ.json index 53a07e7..c10bc6c 100644 --- a/src/core/pyros_django/misc/fixtures/initial_fixture_TZ.json +++ b/src/core/pyros_django/misc/fixtures/initial_fixture_TZ.json @@ -830,6 +830,254 @@ } }, { + "model": "common.pyrosuser", + "pk": 9, + "fields": { + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", + "last_login": null, + "is_superuser": true, + "first_name": "Observer", + "last_name": "Observer", + "email": "observer@example.com", + "is_staff": true, + "date_joined": "2021-05-20T09:03:37.108Z", + "username": "observer@example.com", + "is_active": true, + "first_time": false, + "country": 1, + "desc": null, + "created": "2021-05-20T09:03:37.108Z", + "updated": "2021-05-20T09:03:37.138Z", + "tel": null, + "address": "14 Avenue Edouard Belin, 31400 Toulouse", + "laboratory": "IRAP", + "institute": 2, + "validator": 1, + "groups": [], + "user_permissions": [], + "user_level": [ + 2 + ] + } + }, + { + "model": "common.pyrosuser", + "pk": 10, + "fields": { + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", + "last_login": null, + "is_superuser": true, + "first_name": "Admin", + "last_name": "Admin", + "email": "Admin@example.com", + "is_staff": true, + "date_joined": "2021-05-20T09:03:37.108Z", + "username": "Admin@example.com", + "is_active": true, + "first_time": false, + "country": 1, + "desc": null, + "created": "2021-05-20T09:03:37.108Z", + "updated": "2021-05-20T09:03:37.138Z", + "tel": null, + "address": "14 Avenue Edouard Belin, 31400 Toulouse", + "laboratory": "IRAP", + "institute": 2, + "validator": 1, + "groups": [], + "user_permissions": [], + "user_level": [ + 1 + ] + } + }, + { + "model": "common.pyrosuser", + "pk": 11, + "fields": { + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", + "last_login": null, + "is_superuser": true, + "first_name": "Operator", + "last_name": "Operator", + "email": "Operator@example.com", + "is_staff": true, + "date_joined": "2021-05-20T09:03:37.108Z", + "username": "Operator@example.com", + "is_active": true, + "first_time": false, + "country": 1, + "desc": null, + "created": "2021-05-20T09:03:37.108Z", + "updated": "2021-05-20T09:03:37.138Z", + "tel": null, + "address": "14 Avenue Edouard Belin, 31400 Toulouse", + "laboratory": "IRAP", + "institute": 2, + "validator": 1, + "groups": [], + "user_permissions": [], + "user_level": [ + 5 + ] + } + }, + { + "model": "common.pyrosuser", + "pk": 12, + "fields": { + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", + "last_login": null, + "is_superuser": true, + "first_name": "Management", + "last_name": "Board", + "email": "Management_board@example.com", + "is_staff": true, + "date_joined": "2021-05-20T09:03:37.108Z", + "username": "Management_board@example.com", + "is_active": true, + "first_time": false, + "country": 1, + "desc": null, + "created": "2021-05-20T09:03:37.108Z", + "updated": "2021-05-20T09:03:37.138Z", + "tel": null, + "address": "14 Avenue Edouard Belin, 31400 Toulouse", + "laboratory": "IRAP", + "institute": 2, + "validator": 1, + "groups": [], + "user_permissions": [], + "user_level": [ + 4 + ] + } + }, + { + "model": "common.pyrosuser", + "pk": 13, + "fields": { + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", + "last_login": null, + "is_superuser": true, + "first_name": "Unit", + "last_name": "PI", + "email": "Unit-PI@example.com", + "is_staff": true, + "date_joined": "2021-05-20T09:03:37.108Z", + "username": "Unit-PI@example.com", + "is_active": true, + "first_time": false, + "country": 1, + "desc": null, + "created": "2021-05-20T09:03:37.108Z", + "updated": "2021-05-20T09:03:37.138Z", + "tel": null, + "address": "14 Avenue Edouard Belin, 31400 Toulouse", + "laboratory": "IRAP", + "institute": 2, + "validator": 1, + "groups": [], + "user_permissions": [], + "user_level": [ + 6 + ] + } + }, + { + "model": "common.pyrosuser", + "pk": 14, + "fields": { + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", + "last_login": null, + "is_superuser": true, + "first_name": "TAC", + "last_name": "TAC", + "email": "TAC@example.com", + "is_staff": true, + "date_joined": "2021-05-20T09:03:37.108Z", + "username": "TAC@example.com", + "is_active": true, + "first_time": false, + "country": 1, + "desc": null, + "created": "2021-05-20T09:03:37.108Z", + "updated": "2021-05-20T09:03:37.138Z", + "tel": null, + "address": "14 Avenue Edouard Belin, 31400 Toulouse", + "laboratory": "IRAP", + "institute": 2, + "validator": 1, + "groups": [], + "user_permissions": [], + "user_level": [ + 3 + ] + } + }, + { + "model": "common.pyrosuser", + "pk": 15, + "fields": { + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", + "last_login": null, + "is_superuser": true, + "first_name": "Visitor", + "last_name": "Visitor", + "email": "Visitor@example.com", + "is_staff": true, + "date_joined": "2021-05-20T09:03:37.108Z", + "username": "Visitor@example.com", + "is_active": true, + "first_time": false, + "country": 1, + "desc": null, + "created": "2021-05-20T09:03:37.108Z", + "updated": "2021-05-20T09:03:37.138Z", + "tel": null, + "address": "14 Avenue Edouard Belin, 31400 Toulouse", + "laboratory": "IRAP", + "institute": 2, + "validator": 1, + "groups": [], + "user_permissions": [], + "user_level": [ + 8 + ] + } + }, + { + "model": "common.pyrosuser", + "pk": 16, + "fields": { + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", + "last_login": null, + "is_superuser": true, + "first_name": "Unit", + "last_name": "Board", + "email": "Unit-Board@example.com", + "is_staff": true, + "date_joined": "2021-05-20T09:03:37.108Z", + "username": "Unit-Board@example.com", + "is_active": true, + "first_time": false, + "country": 1, + "desc": null, + "created": "2021-05-20T09:03:37.108Z", + "updated": "2021-05-20T09:03:37.138Z", + "tel": null, + "address": "14 Avenue Edouard Belin, 31400 Toulouse", + "laboratory": "IRAP", + "institute": 2, + "validator": 1, + "groups": [], + "user_permissions": [], + "user_level": [ + 7 + ] + } + }, + { "model": "common.config", "pk": 1, "fields": { -- libgit2 0.21.2