/leavedemo/leave/fixtures/initial_data.json
JSON | 1011 lines | 1011 code | 0 blank | 0 comment | 0 complexity | a14e3da8d14288d3a58797b31bf5a651 MD5 | raw file
1[ 2 { 3 "pk": 1, 4 "model": "auth.group", 5 "fields": { 6 "name": "manager", 7 "permissions": [] 8 } 9 }, 10 { 11 "pk": 2, 12 "model": "auth.group", 13 "fields": { 14 "name": "secretary", 15 "permissions": [ 16 80 17 ] 18 } 19 }, 20 { 21 "pk": 3, 22 "model": "auth.group", 23 "fields": { 24 "name": "employee", 25 "permissions": [] 26 } 27 }, 28 { 29 "pk": 4, 30 "model": "auth.group", 31 "fields": { 32 "name": "leave", 33 "permissions": [ 34 31 35 ] 36 } 37 }, 38 { 39 "pk": 1, 40 "model": "auth.user", 41 "fields": { 42 "username": "admin", 43 "first_name": "", 44 "last_name": "", 45 "is_active": true, 46 "is_superuser": true, 47 "is_staff": true, 48 "last_login": "2008-09-14 18:20:03", 49 "groups": [], 50 "user_permissions": [], 51 "password": "sha1$c5ef3$1ffce0c6ab8bfbd1e56109cd8c32c07487eb8099", 52 "email": "goflow@alwaysdata.net", 53 "date_joined": "2007-07-22 12:28:10" 54 } 55 }, 56 { 57 "pk": 3, 58 "model": "auth.user", 59 "fields": { 60 "username": "prefectus", 61 "first_name": "", 62 "last_name": "", 63 "is_active": true, 64 "is_superuser": false, 65 "is_staff": true, 66 "last_login": "2008-09-14 18:23:47", 67 "groups": [ 68 1, 69 3, 70 4 71 ], 72 "user_permissions": [], 73 "password": "sha1$42fea$803a874263ca061267131d93930793534307d4c9", 74 "email": "", 75 "date_joined": "2007-07-28 12:52:55" 76 } 77 }, 78 { 79 "pk": 4, 80 "model": "auth.user", 81 "fields": { 82 "username": "primus", 83 "first_name": "", 84 "last_name": "", 85 "is_active": true, 86 "is_superuser": false, 87 "is_staff": true, 88 "last_login": "2008-09-14 18:23:19", 89 "groups": [ 90 3, 91 4 92 ], 93 "user_permissions": [], 94 "password": "sha1$9fdf4$c44f36db2ee5a42733bc166d139b5778b08cf33e", 95 "email": "goflow@alwaysdata.net", 96 "date_joined": "2007-07-28 12:54:36" 97 } 98 }, 99 { 100 "pk": 5, 101 "model": "auth.user", 102 "fields": { 103 "username": "secundus", 104 "first_name": "", 105 "last_name": "", 106 "is_active": true, 107 "is_superuser": false, 108 "is_staff": true, 109 "last_login": "2008-04-02 11:00:09", 110 "groups": [ 111 3, 112 4 113 ], 114 "user_permissions": [], 115 "password": "sha1$59ac7$aeccc71edac9b47380036dd9f19c9383af68d557", 116 "email": "", 117 "date_joined": "2007-07-29 12:21:50" 118 } 119 }, 120 { 121 "pk": 6, 122 "model": "auth.user", 123 "fields": { 124 "username": "tertius", 125 "first_name": "", 126 "last_name": "", 127 "is_active": true, 128 "is_superuser": false, 129 "is_staff": true, 130 "last_login": "2008-04-01 22:45:23", 131 "groups": [ 132 3, 133 4 134 ], 135 "user_permissions": [], 136 "password": "sha1$7b269$cf1cfba01895fafd79473501180c0ee8b643ec60", 137 "email": "", 138 "date_joined": "2007-07-29 12:22:32" 139 } 140 }, 141 { 142 "pk": 7, 143 "model": "auth.user", 144 "fields": { 145 "username": "quartus", 146 "first_name": "", 147 "last_name": "", 148 "is_active": true, 149 "is_superuser": false, 150 "is_staff": true, 151 "last_login": "2008-04-01 22:45:24", 152 "groups": [ 153 3, 154 4 155 ], 156 "user_permissions": [], 157 "password": "sha1$15876$c4a36805344668f49614c3720acea5d4a055b0b2", 158 "email": "", 159 "date_joined": "2007-07-29 12:22:56" 160 } 161 }, 162 { 163 "pk": 8, 164 "model": "auth.user", 165 "fields": { 166 "username": "socius", 167 "first_name": "", 168 "last_name": "", 169 "is_active": true, 170 "is_superuser": false, 171 "is_staff": true, 172 "last_login": "2008-09-14 18:18:51", 173 "groups": [ 174 2, 175 3, 176 4 177 ], 178 "user_permissions": [], 179 "password": "sha1$4150a$5126afea8fb33a1735de3d1afc3dd1bfb2b9f1e4", 180 "email": "", 181 "date_joined": "2007-07-29 12:23:20" 182 } 183 }, 184 { 185 "pk": 9, 186 "model": "auth.user", 187 "fields": { 188 "username": "notarius", 189 "first_name": "", 190 "last_name": "", 191 "is_active": true, 192 "is_superuser": false, 193 "is_staff": true, 194 "last_login": "2008-09-14 18:23:56", 195 "groups": [ 196 2, 197 3, 198 4 199 ], 200 "user_permissions": [], 201 "password": "sha1$21f27$9bf9ace1d52ad4c74d199ba76bf711bd8fe74484", 202 "email": "", 203 "date_joined": "2007-07-29 12:24:05" 204 } 205 }, 206 { 207 "pk": 10, 208 "model": "auth.user", 209 "fields": { 210 "username": "auto", 211 "first_name": "", 212 "last_name": "runs auto applications", 213 "is_active": true, 214 "is_superuser": false, 215 "is_staff": false, 216 "last_login": "2007-10-06 22:30:01", 217 "groups": [], 218 "user_permissions": [], 219 "password": "sha1$724c9$c92da4ab8185ba00b89384e234e089a0e46dcb25", 220 "email": "", 221 "date_joined": "2007-10-06 22:30:01" 222 } 223 }, 224 { 225 "pk": 1, 226 "model": "leave.leaverequest", 227 "fields": { 228 "requester": 4, 229 "day_start": "2008-09-14", 230 "reason": "a", 231 "day_end": "2008-09-14", 232 "reason_denial": "", 233 "date": "2008-09-14 18:23:52", 234 "type": "Vacation" 235 } 236 }, 237 { 238 "pk": 1, 239 "model": "leave.manager", 240 "fields": { 241 "category": "supervisor", 242 "user": 3, 243 "users": [ 244 3, 245 4, 246 5, 247 6, 248 7, 249 8, 250 9 251 ] 252 } 253 }, 254 { 255 "pk": 2, 256 "model": "leave.manager", 257 "fields": { 258 "category": "secretary", 259 "user": 9, 260 "users": [ 261 1, 262 3, 263 4, 264 5, 265 8 266 ] 267 } 268 }, 269 { 270 "pk": 3, 271 "model": "leave.manager", 272 "fields": { 273 "category": "secretary", 274 "user": 8, 275 "users": [ 276 6, 277 7, 278 9 279 ] 280 } 281 }, 282 { 283 "pk": 1, 284 "model": "leave.account", 285 "fields": { 286 "category": "vacations", 287 "user": 3, 288 "days": 10 289 } 290 }, 291 { 292 "pk": 2, 293 "model": "leave.account", 294 "fields": { 295 "category": "vacations", 296 "user": 4, 297 "days": 10 298 } 299 }, 300 { 301 "pk": 3, 302 "model": "leave.account", 303 "fields": { 304 "category": "vacations", 305 "user": 5, 306 "days": 10 307 } 308 }, 309 { 310 "pk": 4, 311 "model": "leave.account", 312 "fields": { 313 "category": "vacations", 314 "user": 6, 315 "days": 10 316 } 317 }, 318 { 319 "pk": 5, 320 "model": "leave.account", 321 "fields": { 322 "category": "vacations", 323 "user": 7, 324 "days": 10 325 } 326 }, 327 { 328 "pk": 6, 329 "model": "leave.account", 330 "fields": { 331 "category": "vacations", 332 "user": 8, 333 "days": 10 334 } 335 }, 336 { 337 "pk": 7, 338 "model": "leave.account", 339 "fields": { 340 "category": "vacations", 341 "user": 9, 342 "days": 10 343 } 344 }, 345 { 346 "pk": 12, 347 "model": "leave.account", 348 "fields": { 349 "category": "vacations", 350 "user": 1, 351 "days": 10 352 } 353 }, 354 { 355 "pk": 6, 356 "model": "workflow.activity", 357 "fields": { 358 "kind": "standard", 359 "push_application": 2, 360 "description": "", 361 "roles": [ 362 2 363 ], 364 "title": "UpdateHR", 365 "process": 2, 366 "autofinish": true, 367 "join_mode": "and", 368 "subflow": null, 369 "application": 9, 370 "split_mode": "and", 371 "app_param": "", 372 "autostart": false, 373 "pushapp_param": "" 374 } 375 }, 376 { 377 "pk": 7, 378 "model": "workflow.activity", 379 "fields": { 380 "kind": "standard", 381 "push_application": 3, 382 "description": "", 383 "roles": [ 384 3 385 ], 386 "title": "Refinement", 387 "process": 2, 388 "autofinish": true, 389 "join_mode": "xor", 390 "subflow": null, 391 "application": 17, 392 "split_mode": "xor", 393 "app_param": "{'ok_values':('Re-request', 'Withdraw request')}", 394 "autostart": false, 395 "pushapp_param": "" 396 } 397 }, 398 { 399 "pk": 8, 400 "model": "workflow.activity", 401 "fields": { 402 "kind": "standard", 403 "push_application": 1, 404 "description": "", 405 "roles": [ 406 1 407 ], 408 "title": "Approval", 409 "process": 2, 410 "autofinish": true, 411 "join_mode": "and", 412 "subflow": null, 413 "application": 18, 414 "split_mode": "xor", 415 "app_param": "{'ok_values':('OK: Forward to secretary', 'Denied: Back to requester')}", 416 "autostart": false, 417 "pushapp_param": "" 418 } 419 }, 420 { 421 "pk": 9, 422 "model": "workflow.activity", 423 "fields": { 424 "kind": "standard", 425 "push_application": 3, 426 "description": "", 427 "roles": [], 428 "title": "End", 429 "process": 2, 430 "autofinish": false, 431 "join_mode": "xor", 432 "subflow": null, 433 "application": 11, 434 "split_mode": "and", 435 "app_param": "", 436 "autostart": false, 437 "pushapp_param": "" 438 } 439 }, 440 { 441 "pk": 10, 442 "model": "workflow.activity", 443 "fields": { 444 "kind": "standard", 445 "push_application": 2, 446 "description": "", 447 "roles": [ 448 2 449 ], 450 "title": "Begin", 451 "process": 2, 452 "autofinish": true, 453 "join_mode": "and", 454 "subflow": null, 455 "application": 16, 456 "split_mode": "xor", 457 "app_param": "{'ok_values':('OK: Forward to supervisor', 'Denied: Back to requester')}", 458 "autostart": false, 459 "pushapp_param": "" 460 } 461 }, 462 { 463 "pk": 11, 464 "model": "workflow.activity", 465 "fields": { 466 "kind": "standard", 467 "push_application": null, 468 "description": "", 469 "roles": [ 470 3 471 ], 472 "title": "notification", 473 "process": 3, 474 "autofinish": true, 475 "join_mode": "and", 476 "subflow": null, 477 "application": 15, 478 "split_mode": "and", 479 "app_param": "{'username':'admin'}", 480 "autostart": true, 481 "pushapp_param": "" 482 } 483 }, 484 { 485 "pk": 12, 486 "model": "workflow.activity", 487 "fields": { 488 "kind": "standard", 489 "push_application": null, 490 "description": "", 491 "roles": [], 492 "title": "Information", 493 "process": 4, 494 "autofinish": true, 495 "join_mode": "xor", 496 "subflow": null, 497 "application": 11, 498 "split_mode": "and", 499 "app_param": "", 500 "autostart": false, 501 "pushapp_param": "" 502 } 503 }, 504 { 505 "pk": 13, 506 "model": "workflow.activity", 507 "fields": { 508 "kind": "standard", 509 "push_application": 2, 510 "description": "", 511 "roles": [ 512 2 513 ], 514 "title": "Contr\u00f4le demande", 515 "process": 4, 516 "autofinish": true, 517 "join_mode": "and", 518 "subflow": null, 519 "application": 16, 520 "split_mode": "xor", 521 "app_param": "{'ok_values':('OK: pour approbation', 'Refus\u00e9: \u00e0 corriger')}", 522 "autostart": false, 523 "pushapp_param": "" 524 } 525 }, 526 { 527 "pk": 14, 528 "model": "workflow.activity", 529 "fields": { 530 "kind": "standard", 531 "push_application": 1, 532 "description": "", 533 "roles": [ 534 1 535 ], 536 "title": "Approbation", 537 "process": 4, 538 "autofinish": true, 539 "join_mode": "and", 540 "subflow": null, 541 "application": 18, 542 "split_mode": "xor", 543 "app_param": "{'ok_values':('OK: \u00e0 enregistrer', 'Refus\u00e9: \u00e0 modifier')}", 544 "autostart": false, 545 "pushapp_param": "" 546 } 547 }, 548 { 549 "pk": 15, 550 "model": "workflow.activity", 551 "fields": { 552 "kind": "standard", 553 "push_application": 3, 554 "description": "", 555 "roles": [ 556 3 557 ], 558 "title": "Correction", 559 "process": 4, 560 "autofinish": true, 561 "join_mode": "xor", 562 "subflow": null, 563 "application": 17, 564 "split_mode": "xor", 565 "app_param": "{'ok_values':('Soumettre \u00e0 nouveau', 'Annuler')}", 566 "autostart": false, 567 "pushapp_param": "" 568 } 569 }, 570 { 571 "pk": 16, 572 "model": "workflow.activity", 573 "fields": { 574 "kind": "standard", 575 "push_application": 2, 576 "description": "", 577 "roles": [ 578 2 579 ], 580 "title": "Mise \u00e0 jour base", 581 "process": 4, 582 "autofinish": true, 583 "join_mode": "and", 584 "subflow": null, 585 "application": 9, 586 "split_mode": "and", 587 "app_param": "", 588 "autostart": false, 589 "pushapp_param": "" 590 } 591 }, 592 { 593 "pk": 2, 594 "model": "workflow.process", 595 "fields": { 596 "begin": 10, 597 "end": 9, 598 "description": "version using high level functions to minimize dev effort", 599 "title": "leave", 600 "enabled": true, 601 "priority": 0, 602 "date": "2008-04-01 17:40:39" 603 } 604 }, 605 { 606 "pk": 3, 607 "model": "workflow.process", 608 "fields": { 609 "begin": null, 610 "end": null, 611 "description": "dummy process used to keep activities and transitions out of the active process", 612 "title": "dummy", 613 "enabled": true, 614 "priority": 0, 615 "date": "2007-10-08 21:49:41" 616 } 617 }, 618 { 619 "pk": 4, 620 "model": "workflow.process", 621 "fields": { 622 "begin": null, 623 "end": 12, 624 "description": "gestion des absences: r\u00f4les employ\u00e9, secr\u00e9taire, manager", 625 "title": "Gestion des absences", 626 "enabled": true, 627 "priority": 0, 628 "date": "2008-04-29 21:34:46" 629 } 630 }, 631 { 632 "pk": 1, 633 "model": "workflow.application", 634 "fields": { 635 "url": "apptools/choice_application", 636 "suffix": "w" 637 } 638 }, 639 { 640 "pk": 2, 641 "model": "workflow.application", 642 "fields": { 643 "url": "apptools/view_application", 644 "suffix": "w" 645 } 646 }, 647 { 648 "pk": 3, 649 "model": "workflow.application", 650 "fields": { 651 "url": "apptools/sendmail", 652 "suffix": "w" 653 } 654 }, 655 { 656 "pk": 9, 657 "model": "workflow.application", 658 "fields": { 659 "url": "hrform", 660 "suffix": "w" 661 } 662 }, 663 { 664 "pk": 11, 665 "model": "workflow.application", 666 "fields": { 667 "url": "finalinfo", 668 "suffix": "w" 669 } 670 }, 671 { 672 "pk": 14, 673 "model": "workflow.application", 674 "fields": { 675 "url": "checkstatus_auto", 676 "suffix": null 677 } 678 }, 679 { 680 "pk": 15, 681 "model": "workflow.application", 682 "fields": { 683 "url": "send_mail", 684 "suffix": null 685 } 686 }, 687 { 688 "pk": 16, 689 "model": "workflow.application", 690 "fields": { 691 "url": "checkstatus", 692 "suffix": "w" 693 } 694 }, 695 { 696 "pk": 17, 697 "model": "workflow.application", 698 "fields": { 699 "url": "refine", 700 "suffix": "w" 701 } 702 }, 703 { 704 "pk": 18, 705 "model": "workflow.application", 706 "fields": { 707 "url": "approvalform", 708 "suffix": "w" 709 } 710 }, 711 { 712 "pk": 1, 713 "model": "workflow.pushapplication", 714 "fields": { 715 "url": "route_to_supervisor" 716 } 717 }, 718 { 719 "pk": 2, 720 "model": "workflow.pushapplication", 721 "fields": { 722 "url": "route_to_secretary" 723 } 724 }, 725 { 726 "pk": 3, 727 "model": "workflow.pushapplication", 728 "fields": { 729 "url": "route_to_requester" 730 } 731 }, 732 { 733 "pk": 8, 734 "model": "workflow.transition", 735 "fields": { 736 "precondition": null, 737 "description": "", 738 "process": 2, 739 "output": 10, 740 "input": 7, 741 "condition": "Re-request", 742 "name": "re_request" 743 } 744 }, 745 { 746 "pk": 9, 747 "model": "workflow.transition", 748 "fields": { 749 "precondition": null, 750 "description": "", 751 "process": 2, 752 "output": 9, 753 "input": 7, 754 "condition": "Withdraw request", 755 "name": "cancel_request" 756 } 757 }, 758 { 759 "pk": 10, 760 "model": "workflow.transition", 761 "fields": { 762 "precondition": null, 763 "description": "", 764 "process": 2, 765 "output": 6, 766 "input": 8, 767 "condition": "OK: Forward to secretary", 768 "name": "request_approved" 769 } 770 }, 771 { 772 "pk": 11, 773 "model": "workflow.transition", 774 "fields": { 775 "precondition": null, 776 "description": "", 777 "process": 2, 778 "output": 7, 779 "input": 8, 780 "condition": "Denied: Back to requester", 781 "name": "not_approved" 782 } 783 }, 784 { 785 "pk": 12, 786 "model": "workflow.transition", 787 "fields": { 788 "precondition": null, 789 "description": "", 790 "process": 2, 791 "output": 9, 792 "input": 6, 793 "condition": "", 794 "name": "tell_employee" 795 } 796 }, 797 { 798 "pk": 13, 799 "model": "workflow.transition", 800 "fields": { 801 "precondition": null, 802 "description": "", 803 "process": 2, 804 "output": 7, 805 "input": 10, 806 "condition": "Denied: Back to requester", 807 "name": "send_to_refinement" 808 } 809 }, 810 { 811 "pk": 14, 812 "model": "workflow.transition", 813 "fields": { 814 "precondition": null, 815 "description": "", 816 "process": 2, 817 "output": 8, 818 "input": 10, 819 "condition": "OK: Forward to supervisor", 820 "name": "send_to_approval" 821 } 822 }, 823 { 824 "pk": 15, 825 "model": "workflow.transition", 826 "fields": { 827 "precondition": null, 828 "description": "test timeout", 829 "process": 3, 830 "output": 11, 831 "input": 10, 832 "condition": "workitem.time_out(delay=1, unit='minutes')", 833 "name": "begin_notification" 834 } 835 }, 836 { 837 "pk": 1, 838 "model": "workflow.userprofile", 839 "fields": { 840 "notif_delay": 1, 841 "notified": true, 842 "last_notif": "2009-03-28 16:52:44", 843 "nb_wi_notif": 1, 844 "user": 1, 845 "urgent_priority": 5, 846 "web_host": "localhost:8000" 847 } 848 }, 849 { 850 "pk": 2, 851 "model": "workflow.userprofile", 852 "fields": { 853 "notif_delay": 1, 854 "notified": true, 855 "last_notif": "2009-03-28 18:15:13", 856 "nb_wi_notif": 1, 857 "user": 9, 858 "urgent_priority": 5, 859 "web_host": "localhost:8000" 860 } 861 }, 862 { 863 "pk": 3, 864 "model": "workflow.userprofile", 865 "fields": { 866 "notif_delay": 1, 867 "notified": true, 868 "last_notif": "2009-03-28 18:15:26", 869 "nb_wi_notif": 1, 870 "user": 3, 871 "urgent_priority": 5, 872 "web_host": "localhost:8000" 873 } 874 }, 875 { 876 "pk": 4, 877 "model": "workflow.userprofile", 878 "fields": { 879 "notif_delay": 1, 880 "notified": true, 881 "last_notif": "2009-03-28 18:15:36", 882 "nb_wi_notif": 1, 883 "user": 4, 884 "urgent_priority": 5, 885 "web_host": "localhost:8000" 886 } 887 }, 888 { 889 "pk": 5, 890 "model": "workflow.userprofile", 891 "fields": { 892 "notif_delay": 1, 893 "notified": true, 894 "last_notif": "2009-03-28 18:15:48", 895 "nb_wi_notif": 1, 896 "user": 7, 897 "urgent_priority": 5, 898 "web_host": "localhost:8000" 899 } 900 }, 901 { 902 "pk": 6, 903 "model": "workflow.userprofile", 904 "fields": { 905 "notif_delay": 1, 906 "notified": true, 907 "last_notif": "2009-03-28 18:16:31", 908 "nb_wi_notif": 1, 909 "user": 5, 910 "urgent_priority": 5, 911 "web_host": "localhost:8000" 912 } 913 }, 914 { 915 "pk": 7, 916 "model": "workflow.userprofile", 917 "fields": { 918 "notif_delay": 1, 919 "notified": true, 920 "last_notif": "2009-03-28 18:16:41", 921 "nb_wi_notif": 1, 922 "user": 8, 923 "urgent_priority": 5, 924 "web_host": "localhost:8000" 925 } 926 }, 927 { 928 "pk": 8, 929 "model": "workflow.userprofile", 930 "fields": { 931 "notif_delay": 1, 932 "notified": true, 933 "last_notif": "2009-03-28 18:17:06", 934 "nb_wi_notif": 1, 935 "user": 6, 936 "urgent_priority": 5, 937 "web_host": "localhost:8000" 938 } 939 }, 940 { 941 "pk": 9, 942 "model": "workflow.userprofile", 943 "fields": { 944 "notif_delay": 1, 945 "notified": true, 946 "last_notif": "2009-03-28 16:52:44", 947 "nb_wi_notif": 1, 948 "user": 10, 949 "urgent_priority": 5, 950 "web_host": "localhost:8000" 951 } 952 }, 953 { 954 "pk": 1, 955 "model": "graphics2.processimage", 956 "fields": { 957 "process": 4, 958 "file": "images/leave_workflow.png" 959 } 960 }, 961 { 962 "pk": 1, 963 "model": "graphics2.activityposition", 964 "fields": { 965 "diagram": 1, 966 "x": 72, 967 "y": 334, 968 "activity": 12 969 } 970 }, 971 { 972 "pk": 2, 973 "model": "graphics2.activityposition", 974 "fields": { 975 "diagram": 1, 976 "x": 208, 977 "y": 100, 978 "activity": 13 979 } 980 }, 981 { 982 "pk": 3, 983 "model": "graphics2.activityposition", 984 "fields": { 985 "diagram": 1, 986 "x": 329, 987 "y": 185, 988 "activity": 14 989 } 990 }, 991 { 992 "pk": 4, 993 "model": "graphics2.activityposition", 994 "fields": { 995 "diagram": 1, 996 "x": 111, 997 "y": 179, 998 "activity": 15 999 } 1000 }, 1001 { 1002 "pk": 5, 1003 "model": "graphics2.activityposition", 1004 "fields": { 1005 "diagram": 1, 1006 "x": 223, 1007 "y": 289, 1008 "activity": 16 1009 } 1010 } 1011]