Commit 31741f4b145a820b3f0863c51cd3e02a98d86b74
1 parent
a9789880
Exists in
dev
Add one user profile for each role
Showing
1 changed file
with
248 additions
and
0 deletions
Show diff stats
src/core/pyros_django/misc/fixtures/initial_fixture_TZ.json
... | ... | @@ -830,6 +830,254 @@ |
830 | 830 | } |
831 | 831 | }, |
832 | 832 | { |
833 | + "model": "common.pyrosuser", | |
834 | + "pk": 9, | |
835 | + "fields": { | |
836 | + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", | |
837 | + "last_login": null, | |
838 | + "is_superuser": true, | |
839 | + "first_name": "Observer", | |
840 | + "last_name": "Observer", | |
841 | + "email": "observer@example.com", | |
842 | + "is_staff": true, | |
843 | + "date_joined": "2021-05-20T09:03:37.108Z", | |
844 | + "username": "observer@example.com", | |
845 | + "is_active": true, | |
846 | + "first_time": false, | |
847 | + "country": 1, | |
848 | + "desc": null, | |
849 | + "created": "2021-05-20T09:03:37.108Z", | |
850 | + "updated": "2021-05-20T09:03:37.138Z", | |
851 | + "tel": null, | |
852 | + "address": "14 Avenue Edouard Belin, 31400 Toulouse", | |
853 | + "laboratory": "IRAP", | |
854 | + "institute": 2, | |
855 | + "validator": 1, | |
856 | + "groups": [], | |
857 | + "user_permissions": [], | |
858 | + "user_level": [ | |
859 | + 2 | |
860 | + ] | |
861 | + } | |
862 | + }, | |
863 | + { | |
864 | + "model": "common.pyrosuser", | |
865 | + "pk": 10, | |
866 | + "fields": { | |
867 | + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", | |
868 | + "last_login": null, | |
869 | + "is_superuser": true, | |
870 | + "first_name": "Admin", | |
871 | + "last_name": "Admin", | |
872 | + "email": "Admin@example.com", | |
873 | + "is_staff": true, | |
874 | + "date_joined": "2021-05-20T09:03:37.108Z", | |
875 | + "username": "Admin@example.com", | |
876 | + "is_active": true, | |
877 | + "first_time": false, | |
878 | + "country": 1, | |
879 | + "desc": null, | |
880 | + "created": "2021-05-20T09:03:37.108Z", | |
881 | + "updated": "2021-05-20T09:03:37.138Z", | |
882 | + "tel": null, | |
883 | + "address": "14 Avenue Edouard Belin, 31400 Toulouse", | |
884 | + "laboratory": "IRAP", | |
885 | + "institute": 2, | |
886 | + "validator": 1, | |
887 | + "groups": [], | |
888 | + "user_permissions": [], | |
889 | + "user_level": [ | |
890 | + 1 | |
891 | + ] | |
892 | + } | |
893 | + }, | |
894 | + { | |
895 | + "model": "common.pyrosuser", | |
896 | + "pk": 11, | |
897 | + "fields": { | |
898 | + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", | |
899 | + "last_login": null, | |
900 | + "is_superuser": true, | |
901 | + "first_name": "Operator", | |
902 | + "last_name": "Operator", | |
903 | + "email": "Operator@example.com", | |
904 | + "is_staff": true, | |
905 | + "date_joined": "2021-05-20T09:03:37.108Z", | |
906 | + "username": "Operator@example.com", | |
907 | + "is_active": true, | |
908 | + "first_time": false, | |
909 | + "country": 1, | |
910 | + "desc": null, | |
911 | + "created": "2021-05-20T09:03:37.108Z", | |
912 | + "updated": "2021-05-20T09:03:37.138Z", | |
913 | + "tel": null, | |
914 | + "address": "14 Avenue Edouard Belin, 31400 Toulouse", | |
915 | + "laboratory": "IRAP", | |
916 | + "institute": 2, | |
917 | + "validator": 1, | |
918 | + "groups": [], | |
919 | + "user_permissions": [], | |
920 | + "user_level": [ | |
921 | + 5 | |
922 | + ] | |
923 | + } | |
924 | + }, | |
925 | + { | |
926 | + "model": "common.pyrosuser", | |
927 | + "pk": 12, | |
928 | + "fields": { | |
929 | + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", | |
930 | + "last_login": null, | |
931 | + "is_superuser": true, | |
932 | + "first_name": "Management", | |
933 | + "last_name": "Board", | |
934 | + "email": "Management_board@example.com", | |
935 | + "is_staff": true, | |
936 | + "date_joined": "2021-05-20T09:03:37.108Z", | |
937 | + "username": "Management_board@example.com", | |
938 | + "is_active": true, | |
939 | + "first_time": false, | |
940 | + "country": 1, | |
941 | + "desc": null, | |
942 | + "created": "2021-05-20T09:03:37.108Z", | |
943 | + "updated": "2021-05-20T09:03:37.138Z", | |
944 | + "tel": null, | |
945 | + "address": "14 Avenue Edouard Belin, 31400 Toulouse", | |
946 | + "laboratory": "IRAP", | |
947 | + "institute": 2, | |
948 | + "validator": 1, | |
949 | + "groups": [], | |
950 | + "user_permissions": [], | |
951 | + "user_level": [ | |
952 | + 4 | |
953 | + ] | |
954 | + } | |
955 | + }, | |
956 | + { | |
957 | + "model": "common.pyrosuser", | |
958 | + "pk": 13, | |
959 | + "fields": { | |
960 | + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", | |
961 | + "last_login": null, | |
962 | + "is_superuser": true, | |
963 | + "first_name": "Unit", | |
964 | + "last_name": "PI", | |
965 | + "email": "Unit-PI@example.com", | |
966 | + "is_staff": true, | |
967 | + "date_joined": "2021-05-20T09:03:37.108Z", | |
968 | + "username": "Unit-PI@example.com", | |
969 | + "is_active": true, | |
970 | + "first_time": false, | |
971 | + "country": 1, | |
972 | + "desc": null, | |
973 | + "created": "2021-05-20T09:03:37.108Z", | |
974 | + "updated": "2021-05-20T09:03:37.138Z", | |
975 | + "tel": null, | |
976 | + "address": "14 Avenue Edouard Belin, 31400 Toulouse", | |
977 | + "laboratory": "IRAP", | |
978 | + "institute": 2, | |
979 | + "validator": 1, | |
980 | + "groups": [], | |
981 | + "user_permissions": [], | |
982 | + "user_level": [ | |
983 | + 6 | |
984 | + ] | |
985 | + } | |
986 | + }, | |
987 | + { | |
988 | + "model": "common.pyrosuser", | |
989 | + "pk": 14, | |
990 | + "fields": { | |
991 | + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", | |
992 | + "last_login": null, | |
993 | + "is_superuser": true, | |
994 | + "first_name": "TAC", | |
995 | + "last_name": "TAC", | |
996 | + "email": "TAC@example.com", | |
997 | + "is_staff": true, | |
998 | + "date_joined": "2021-05-20T09:03:37.108Z", | |
999 | + "username": "TAC@example.com", | |
1000 | + "is_active": true, | |
1001 | + "first_time": false, | |
1002 | + "country": 1, | |
1003 | + "desc": null, | |
1004 | + "created": "2021-05-20T09:03:37.108Z", | |
1005 | + "updated": "2021-05-20T09:03:37.138Z", | |
1006 | + "tel": null, | |
1007 | + "address": "14 Avenue Edouard Belin, 31400 Toulouse", | |
1008 | + "laboratory": "IRAP", | |
1009 | + "institute": 2, | |
1010 | + "validator": 1, | |
1011 | + "groups": [], | |
1012 | + "user_permissions": [], | |
1013 | + "user_level": [ | |
1014 | + 3 | |
1015 | + ] | |
1016 | + } | |
1017 | + }, | |
1018 | + { | |
1019 | + "model": "common.pyrosuser", | |
1020 | + "pk": 15, | |
1021 | + "fields": { | |
1022 | + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", | |
1023 | + "last_login": null, | |
1024 | + "is_superuser": true, | |
1025 | + "first_name": "Visitor", | |
1026 | + "last_name": "Visitor", | |
1027 | + "email": "Visitor@example.com", | |
1028 | + "is_staff": true, | |
1029 | + "date_joined": "2021-05-20T09:03:37.108Z", | |
1030 | + "username": "Visitor@example.com", | |
1031 | + "is_active": true, | |
1032 | + "first_time": false, | |
1033 | + "country": 1, | |
1034 | + "desc": null, | |
1035 | + "created": "2021-05-20T09:03:37.108Z", | |
1036 | + "updated": "2021-05-20T09:03:37.138Z", | |
1037 | + "tel": null, | |
1038 | + "address": "14 Avenue Edouard Belin, 31400 Toulouse", | |
1039 | + "laboratory": "IRAP", | |
1040 | + "institute": 2, | |
1041 | + "validator": 1, | |
1042 | + "groups": [], | |
1043 | + "user_permissions": [], | |
1044 | + "user_level": [ | |
1045 | + 8 | |
1046 | + ] | |
1047 | + } | |
1048 | + }, | |
1049 | + { | |
1050 | + "model": "common.pyrosuser", | |
1051 | + "pk": 16, | |
1052 | + "fields": { | |
1053 | + "password": "pbkdf2_sha256$100000$LdWOwxlQqzYU$n5YIpgps3de5U8bAx3sVmhFhwXCHgczKszJG8SuVyjs=", | |
1054 | + "last_login": null, | |
1055 | + "is_superuser": true, | |
1056 | + "first_name": "Unit", | |
1057 | + "last_name": "Board", | |
1058 | + "email": "Unit-Board@example.com", | |
1059 | + "is_staff": true, | |
1060 | + "date_joined": "2021-05-20T09:03:37.108Z", | |
1061 | + "username": "Unit-Board@example.com", | |
1062 | + "is_active": true, | |
1063 | + "first_time": false, | |
1064 | + "country": 1, | |
1065 | + "desc": null, | |
1066 | + "created": "2021-05-20T09:03:37.108Z", | |
1067 | + "updated": "2021-05-20T09:03:37.138Z", | |
1068 | + "tel": null, | |
1069 | + "address": "14 Avenue Edouard Belin, 31400 Toulouse", | |
1070 | + "laboratory": "IRAP", | |
1071 | + "institute": 2, | |
1072 | + "validator": 1, | |
1073 | + "groups": [], | |
1074 | + "user_permissions": [], | |
1075 | + "user_level": [ | |
1076 | + 7 | |
1077 | + ] | |
1078 | + } | |
1079 | + }, | |
1080 | + { | |
833 | 1081 | "model": "common.config", |
834 | 1082 | "pk": 1, |
835 | 1083 | "fields": { | ... | ... |