protegrity-ai-developer-python 1.2.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. appython/__init__.py +12 -0
  2. appython/protector.py +554 -0
  3. appython/service/auth_provider.py +273 -0
  4. appython/service/auth_token_provider.py +45 -0
  5. appython/service/config.py +209 -0
  6. appython/service/payload_builder.py +141 -0
  7. appython/service/request_handler.py +115 -0
  8. appython/service/response_handler.py +78 -0
  9. appython/stats/__init__.py +3 -0
  10. appython/stats/collector.py +90 -0
  11. appython/stats/writer.py +185 -0
  12. appython/utils/codec_helper.py +86 -0
  13. appython/utils/constants.py +246 -0
  14. appython/utils/exceptions.py +141 -0
  15. appython/utils/input_preprocessor.py +325 -0
  16. appython/utils/output_postprocessor.py +99 -0
  17. protegrity_ai_developer_python-1.2.1.dist-info/METADATA +428 -0
  18. protegrity_ai_developer_python-1.2.1.dist-info/RECORD +53 -0
  19. protegrity_ai_developer_python-1.2.1.dist-info/WHEEL +5 -0
  20. protegrity_ai_developer_python-1.2.1.dist-info/entry_points.txt +2 -0
  21. protegrity_ai_developer_python-1.2.1.dist-info/licenses/LICENSE +21 -0
  22. protegrity_ai_developer_python-1.2.1.dist-info/top_level.txt +3 -0
  23. protegrity_developer_python/__init__.py +4 -0
  24. protegrity_developer_python/scan.py +37 -0
  25. protegrity_developer_python/securefind.py +83 -0
  26. protegrity_developer_python/utils/ccn_processing.py +59 -0
  27. protegrity_developer_python/utils/config.py +60 -0
  28. protegrity_developer_python/utils/constants.py +123 -0
  29. protegrity_developer_python/utils/discover.py +49 -0
  30. protegrity_developer_python/utils/logger.py +23 -0
  31. protegrity_developer_python/utils/pii_processing.py +291 -0
  32. protegrity_developer_python/utils/protector.py +23 -0
  33. protegrity_developer_python/utils/semantic_guardrails.py +240 -0
  34. protegrity_developer_python/utils/transform.py +66 -0
  35. pty_migrate/__init__.py +1 -0
  36. pty_migrate/check_cmd.py +871 -0
  37. pty_migrate/cli.py +93 -0
  38. pty_migrate/config.py +127 -0
  39. pty_migrate/create_policy_cmd.py +795 -0
  40. pty_migrate/payloads/__init__.py +51 -0
  41. pty_migrate/payloads/alphabets.json +42 -0
  42. pty_migrate/payloads/dataelements.json +342 -0
  43. pty_migrate/payloads/datastores.json +7 -0
  44. pty_migrate/payloads/deploy_policy_ta.json +1 -0
  45. pty_migrate/payloads/masks.json +18 -0
  46. pty_migrate/payloads/members.json +62 -0
  47. pty_migrate/payloads/policies.json +13 -0
  48. pty_migrate/payloads/roles.json +32 -0
  49. pty_migrate/payloads/rules.json +1639 -0
  50. pty_migrate/payloads/sources.json +10 -0
  51. pty_migrate/payloads/trusted_apps.json +8 -0
  52. pty_migrate/ppc_client.py +371 -0
  53. pty_migrate/stats_cmd.py +87 -0
@@ -0,0 +1,1639 @@
1
+ [
2
+ {
3
+ "role": "1",
4
+ "dataElement": "1",
5
+ "permission": {
6
+ "access": {
7
+ "protect": true,
8
+ "reProtect": true,
9
+ "unProtect": true
10
+ }
11
+ }
12
+ },
13
+ {
14
+ "role": "2",
15
+ "dataElement": "1",
16
+ "noAccessOperation": "PROTECTED_VALUE",
17
+ "permission": {
18
+ "access": {
19
+ "protect": true,
20
+ "reProtect": true,
21
+ "unProtect": false
22
+ }
23
+ }
24
+ },
25
+ {
26
+ "role": "3",
27
+ "dataElement": "1",
28
+ "permission": {
29
+ "access": {
30
+ "protect": false,
31
+ "reProtect": false,
32
+ "unProtect": true
33
+ }
34
+ }
35
+ },
36
+ {
37
+ "role": "4",
38
+ "dataElement": "1",
39
+ "permission": {
40
+ "access": {
41
+ "protect": false,
42
+ "reProtect": false,
43
+ "unProtect": true
44
+ }
45
+ }
46
+ },
47
+ {
48
+ "role": "5",
49
+ "dataElement": "1",
50
+ "permission": {
51
+ "access": {
52
+ "protect": false,
53
+ "reProtect": false,
54
+ "unProtect": true
55
+ }
56
+ }
57
+ },
58
+ {
59
+ "role": "1",
60
+ "dataElement": "2",
61
+ "permission": {
62
+ "access": {
63
+ "protect": true,
64
+ "reProtect": true,
65
+ "unProtect": true
66
+ }
67
+ }
68
+ },
69
+ {
70
+ "role": "2",
71
+ "dataElement": "2",
72
+ "noAccessOperation": "PROTECTED_VALUE",
73
+ "permission": {
74
+ "access": {
75
+ "protect": true,
76
+ "reProtect": true,
77
+ "unProtect": false
78
+ }
79
+ }
80
+ },
81
+ {
82
+ "role": "3",
83
+ "dataElement": "2",
84
+ "permission": {
85
+ "access": {
86
+ "protect": false,
87
+ "reProtect": false,
88
+ "unProtect": true
89
+ }
90
+ }
91
+ },
92
+ {
93
+ "role": "4",
94
+ "dataElement": "2",
95
+ "permission": {
96
+ "access": {
97
+ "protect": false,
98
+ "reProtect": false,
99
+ "unProtect": true
100
+ }
101
+ }
102
+ },
103
+ {
104
+ "role": "5",
105
+ "dataElement": "2",
106
+ "permission": {
107
+ "access": {
108
+ "protect": false,
109
+ "reProtect": false,
110
+ "unProtect": true
111
+ }
112
+ }
113
+ },
114
+ {
115
+ "role": "1",
116
+ "dataElement": "3",
117
+ "permission": {
118
+ "access": {
119
+ "protect": true,
120
+ "reProtect": true,
121
+ "unProtect": true
122
+ }
123
+ }
124
+ },
125
+ {
126
+ "role": "2",
127
+ "dataElement": "3",
128
+ "noAccessOperation": "PROTECTED_VALUE",
129
+ "permission": {
130
+ "access": {
131
+ "protect": true,
132
+ "reProtect": true,
133
+ "unProtect": false
134
+ }
135
+ }
136
+ },
137
+ {
138
+ "role": "3",
139
+ "dataElement": "3",
140
+ "permission": {
141
+ "access": {
142
+ "protect": false,
143
+ "reProtect": false,
144
+ "unProtect": true
145
+ }
146
+ }
147
+ },
148
+ {
149
+ "role": "4",
150
+ "dataElement": "3",
151
+ "permission": {
152
+ "access": {
153
+ "protect": false,
154
+ "reProtect": false,
155
+ "unProtect": true
156
+ }
157
+ }
158
+ },
159
+ {
160
+ "role": "5",
161
+ "dataElement": "3",
162
+ "permission": {
163
+ "access": {
164
+ "protect": false,
165
+ "reProtect": false,
166
+ "unProtect": true
167
+ }
168
+ }
169
+ },
170
+ {
171
+ "role": "1",
172
+ "dataElement": "7",
173
+ "permission": {
174
+ "access": {
175
+ "protect": true,
176
+ "reProtect": true,
177
+ "unProtect": true
178
+ }
179
+ }
180
+ },
181
+ {
182
+ "role": "2",
183
+ "dataElement": "7",
184
+ "noAccessOperation": "PROTECTED_VALUE",
185
+ "permission": {
186
+ "access": {
187
+ "protect": true,
188
+ "reProtect": true,
189
+ "unProtect": false
190
+ }
191
+ }
192
+ },
193
+ {
194
+ "role": "3",
195
+ "dataElement": "7",
196
+ "permission": {
197
+ "access": {
198
+ "protect": false,
199
+ "reProtect": false,
200
+ "unProtect": true
201
+ }
202
+ }
203
+ },
204
+ {
205
+ "role": "4",
206
+ "dataElement": "7",
207
+ "permission": {
208
+ "access": {
209
+ "protect": false,
210
+ "reProtect": false,
211
+ "unProtect": true
212
+ }
213
+ }
214
+ },
215
+ {
216
+ "role": "5",
217
+ "dataElement": "7",
218
+ "permission": {
219
+ "access": {
220
+ "protect": false,
221
+ "reProtect": false,
222
+ "unProtect": true
223
+ }
224
+ }
225
+ },
226
+ {
227
+ "role": "1",
228
+ "dataElement": "8",
229
+ "permission": {
230
+ "access": {
231
+ "protect": true,
232
+ "reProtect": true,
233
+ "unProtect": true
234
+ }
235
+ }
236
+ },
237
+ {
238
+ "role": "2",
239
+ "dataElement": "8",
240
+ "noAccessOperation": "PROTECTED_VALUE",
241
+ "permission": {
242
+ "access": {
243
+ "protect": true,
244
+ "reProtect": true,
245
+ "unProtect": false
246
+ }
247
+ }
248
+ },
249
+ {
250
+ "role": "3",
251
+ "dataElement": "8",
252
+ "permission": {
253
+ "access": {
254
+ "protect": false,
255
+ "reProtect": false,
256
+ "unProtect": true
257
+ }
258
+ }
259
+ },
260
+ {
261
+ "role": "4",
262
+ "dataElement": "8",
263
+ "permission": {
264
+ "access": {
265
+ "protect": false,
266
+ "reProtect": false,
267
+ "unProtect": true
268
+ }
269
+ }
270
+ },
271
+ {
272
+ "role": "5",
273
+ "dataElement": "8",
274
+ "permission": {
275
+ "access": {
276
+ "protect": false,
277
+ "reProtect": false,
278
+ "unProtect": true
279
+ }
280
+ }
281
+ },
282
+ {
283
+ "role": "1",
284
+ "dataElement": "9",
285
+ "permission": {
286
+ "access": {
287
+ "protect": true,
288
+ "reProtect": true,
289
+ "unProtect": true
290
+ }
291
+ }
292
+ },
293
+ {
294
+ "role": "2",
295
+ "dataElement": "9",
296
+ "noAccessOperation": "PROTECTED_VALUE",
297
+ "permission": {
298
+ "access": {
299
+ "protect": true,
300
+ "reProtect": true,
301
+ "unProtect": false
302
+ }
303
+ }
304
+ },
305
+ {
306
+ "role": "3",
307
+ "dataElement": "9",
308
+ "permission": {
309
+ "access": {
310
+ "protect": false,
311
+ "reProtect": false,
312
+ "unProtect": true
313
+ }
314
+ }
315
+ },
316
+ {
317
+ "role": "4",
318
+ "dataElement": "9",
319
+ "permission": {
320
+ "access": {
321
+ "protect": false,
322
+ "reProtect": false,
323
+ "unProtect": true
324
+ }
325
+ }
326
+ },
327
+ {
328
+ "role": "5",
329
+ "dataElement": "9",
330
+ "permission": {
331
+ "access": {
332
+ "protect": false,
333
+ "reProtect": false,
334
+ "unProtect": true
335
+ }
336
+ }
337
+ },
338
+ {
339
+ "role": "1",
340
+ "dataElement": "10",
341
+ "permission": {
342
+ "access": {
343
+ "protect": true,
344
+ "reProtect": true,
345
+ "unProtect": true
346
+ }
347
+ }
348
+ },
349
+ {
350
+ "role": "2",
351
+ "dataElement": "10",
352
+ "noAccessOperation": "PROTECTED_VALUE",
353
+ "permission": {
354
+ "access": {
355
+ "protect": true,
356
+ "reProtect": true,
357
+ "unProtect": false
358
+ }
359
+ }
360
+ },
361
+ {
362
+ "role": "3",
363
+ "dataElement": "10",
364
+ "permission": {
365
+ "access": {
366
+ "protect": false,
367
+ "reProtect": false,
368
+ "unProtect": true
369
+ }
370
+ }
371
+ },
372
+ {
373
+ "role": "4",
374
+ "dataElement": "10",
375
+ "permission": {
376
+ "access": {
377
+ "protect": false,
378
+ "reProtect": false,
379
+ "unProtect": true
380
+ }
381
+ }
382
+ },
383
+ {
384
+ "role": "5",
385
+ "dataElement": "10",
386
+ "permission": {
387
+ "access": {
388
+ "protect": false,
389
+ "reProtect": false,
390
+ "unProtect": true
391
+ }
392
+ }
393
+ },
394
+ {
395
+ "role": "1",
396
+ "dataElement": "11",
397
+ "permission": {
398
+ "access": {
399
+ "protect": true,
400
+ "reProtect": true,
401
+ "unProtect": true
402
+ }
403
+ }
404
+ },
405
+ {
406
+ "role": "2",
407
+ "dataElement": "11",
408
+ "noAccessOperation": "PROTECTED_VALUE",
409
+ "permission": {
410
+ "access": {
411
+ "protect": true,
412
+ "reProtect": true,
413
+ "unProtect": false
414
+ }
415
+ }
416
+ },
417
+ {
418
+ "role": "3",
419
+ "dataElement": "11",
420
+ "permission": {
421
+ "access": {
422
+ "protect": false,
423
+ "reProtect": false,
424
+ "unProtect": true
425
+ }
426
+ }
427
+ },
428
+ {
429
+ "role": "4",
430
+ "dataElement": "11",
431
+ "permission": {
432
+ "access": {
433
+ "protect": false,
434
+ "reProtect": false,
435
+ "unProtect": true
436
+ }
437
+ }
438
+ },
439
+ {
440
+ "role": "5",
441
+ "dataElement": "11",
442
+ "permission": {
443
+ "access": {
444
+ "protect": false,
445
+ "reProtect": false,
446
+ "unProtect": true
447
+ }
448
+ }
449
+ },
450
+ {
451
+ "role": "1",
452
+ "dataElement": "13",
453
+ "permission": {
454
+ "access": {
455
+ "protect": true,
456
+ "reProtect": true,
457
+ "unProtect": true
458
+ }
459
+ }
460
+ },
461
+ {
462
+ "role": "2",
463
+ "dataElement": "13",
464
+ "noAccessOperation": "PROTECTED_VALUE",
465
+ "permission": {
466
+ "access": {
467
+ "protect": true,
468
+ "reProtect": true,
469
+ "unProtect": false
470
+ }
471
+ }
472
+ },
473
+ {
474
+ "role": "3",
475
+ "dataElement": "13",
476
+ "permission": {
477
+ "access": {
478
+ "protect": false,
479
+ "reProtect": false,
480
+ "unProtect": true
481
+ }
482
+ }
483
+ },
484
+ {
485
+ "role": "4",
486
+ "dataElement": "13",
487
+ "permission": {
488
+ "access": {
489
+ "protect": false,
490
+ "reProtect": false,
491
+ "unProtect": true
492
+ }
493
+ }
494
+ },
495
+ {
496
+ "role": "5",
497
+ "dataElement": "13",
498
+ "permission": {
499
+ "access": {
500
+ "protect": false,
501
+ "reProtect": false,
502
+ "unProtect": true
503
+ }
504
+ }
505
+ },
506
+ {
507
+ "role": "1",
508
+ "dataElement": "4",
509
+ "permission": {
510
+ "access": {
511
+ "protect": true,
512
+ "reProtect": true,
513
+ "unProtect": true
514
+ }
515
+ }
516
+ },
517
+ {
518
+ "role": "2",
519
+ "dataElement": "4",
520
+ "noAccessOperation": "PROTECTED_VALUE",
521
+ "permission": {
522
+ "access": {
523
+ "protect": true,
524
+ "reProtect": true,
525
+ "unProtect": false
526
+ }
527
+ }
528
+ },
529
+ {
530
+ "role": "3",
531
+ "dataElement": "4",
532
+ "permission": {
533
+ "access": {
534
+ "protect": false,
535
+ "reProtect": false,
536
+ "unProtect": true
537
+ }
538
+ }
539
+ },
540
+ {
541
+ "role": "5",
542
+ "dataElement": "4",
543
+ "permission": {
544
+ "access": {
545
+ "protect": false,
546
+ "reProtect": false,
547
+ "unProtect": true
548
+ }
549
+ }
550
+ },
551
+ {
552
+ "role": "1",
553
+ "dataElement": "5",
554
+ "permission": {
555
+ "access": {
556
+ "protect": true,
557
+ "reProtect": true,
558
+ "unProtect": true
559
+ }
560
+ }
561
+ },
562
+ {
563
+ "role": "2",
564
+ "dataElement": "5",
565
+ "noAccessOperation": "PROTECTED_VALUE",
566
+ "permission": {
567
+ "access": {
568
+ "protect": true,
569
+ "reProtect": true,
570
+ "unProtect": false
571
+ }
572
+ }
573
+ },
574
+ {
575
+ "role": "3",
576
+ "dataElement": "5",
577
+ "permission": {
578
+ "access": {
579
+ "protect": false,
580
+ "reProtect": false,
581
+ "unProtect": true
582
+ }
583
+ }
584
+ },
585
+ {
586
+ "role": "5",
587
+ "dataElement": "5",
588
+ "permission": {
589
+ "access": {
590
+ "protect": false,
591
+ "reProtect": false,
592
+ "unProtect": true
593
+ }
594
+ }
595
+ },
596
+ {
597
+ "role": "1",
598
+ "dataElement": "6",
599
+ "permission": {
600
+ "access": {
601
+ "protect": true,
602
+ "reProtect": true,
603
+ "unProtect": true
604
+ }
605
+ }
606
+ },
607
+ {
608
+ "role": "2",
609
+ "dataElement": "6",
610
+ "noAccessOperation": "PROTECTED_VALUE",
611
+ "permission": {
612
+ "access": {
613
+ "protect": true,
614
+ "reProtect": true,
615
+ "unProtect": false
616
+ }
617
+ }
618
+ },
619
+ {
620
+ "role": "3",
621
+ "dataElement": "6",
622
+ "permission": {
623
+ "access": {
624
+ "protect": false,
625
+ "reProtect": false,
626
+ "unProtect": true
627
+ }
628
+ }
629
+ },
630
+ {
631
+ "role": "5",
632
+ "dataElement": "6",
633
+ "permission": {
634
+ "access": {
635
+ "protect": false,
636
+ "reProtect": false,
637
+ "unProtect": true
638
+ }
639
+ }
640
+ },
641
+ {
642
+ "role": "1",
643
+ "dataElement": "19",
644
+ "permission": {
645
+ "access": {
646
+ "protect": true,
647
+ "reProtect": true,
648
+ "unProtect": true
649
+ }
650
+ }
651
+ },
652
+ {
653
+ "role": "2",
654
+ "dataElement": "19",
655
+ "noAccessOperation": "PROTECTED_VALUE",
656
+ "permission": {
657
+ "access": {
658
+ "protect": true,
659
+ "reProtect": true,
660
+ "unProtect": false
661
+ }
662
+ }
663
+ },
664
+ {
665
+ "role": "3",
666
+ "dataElement": "19",
667
+ "permission": {
668
+ "access": {
669
+ "protect": false,
670
+ "reProtect": false,
671
+ "unProtect": true
672
+ }
673
+ }
674
+ },
675
+ {
676
+ "role": "5",
677
+ "dataElement": "19",
678
+ "mask": "2",
679
+ "permission": {
680
+ "access": {
681
+ "protect": false,
682
+ "reProtect": false,
683
+ "unProtect": true
684
+ }
685
+ }
686
+ },
687
+ {
688
+ "role": "1",
689
+ "dataElement": "20",
690
+ "permission": {
691
+ "access": {
692
+ "protect": true,
693
+ "reProtect": true,
694
+ "unProtect": true
695
+ }
696
+ }
697
+ },
698
+ {
699
+ "role": "2",
700
+ "dataElement": "20",
701
+ "noAccessOperation": "PROTECTED_VALUE",
702
+ "permission": {
703
+ "access": {
704
+ "protect": true,
705
+ "reProtect": true,
706
+ "unProtect": false
707
+ }
708
+ }
709
+ },
710
+ {
711
+ "role": "3",
712
+ "dataElement": "20",
713
+ "permission": {
714
+ "access": {
715
+ "protect": false,
716
+ "reProtect": false,
717
+ "unProtect": true
718
+ }
719
+ }
720
+ },
721
+ {
722
+ "role": "5",
723
+ "dataElement": "20",
724
+ "mask": "2",
725
+ "permission": {
726
+ "access": {
727
+ "protect": false,
728
+ "reProtect": false,
729
+ "unProtect": true
730
+ }
731
+ }
732
+ },
733
+ {
734
+ "role": "1",
735
+ "dataElement": "22",
736
+ "permission": {
737
+ "access": {
738
+ "protect": true,
739
+ "reProtect": true,
740
+ "unProtect": true
741
+ }
742
+ }
743
+ },
744
+ {
745
+ "role": "2",
746
+ "dataElement": "22",
747
+ "noAccessOperation": "PROTECTED_VALUE",
748
+ "permission": {
749
+ "access": {
750
+ "protect": true,
751
+ "reProtect": true,
752
+ "unProtect": false
753
+ }
754
+ }
755
+ },
756
+ {
757
+ "role": "3",
758
+ "dataElement": "22",
759
+ "permission": {
760
+ "access": {
761
+ "protect": false,
762
+ "reProtect": false,
763
+ "unProtect": true
764
+ }
765
+ }
766
+ },
767
+ {
768
+ "role": "5",
769
+ "dataElement": "22",
770
+ "mask": "1",
771
+ "permission": {
772
+ "access": {
773
+ "protect": false,
774
+ "reProtect": false,
775
+ "unProtect": true
776
+ }
777
+ }
778
+ },
779
+ {
780
+ "role": "1",
781
+ "dataElement": "23",
782
+ "permission": {
783
+ "access": {
784
+ "protect": true,
785
+ "reProtect": true,
786
+ "unProtect": true
787
+ }
788
+ }
789
+ },
790
+ {
791
+ "role": "2",
792
+ "dataElement": "23",
793
+ "noAccessOperation": "PROTECTED_VALUE",
794
+ "permission": {
795
+ "access": {
796
+ "protect": true,
797
+ "reProtect": true,
798
+ "unProtect": false
799
+ }
800
+ }
801
+ },
802
+ {
803
+ "role": "3",
804
+ "dataElement": "23",
805
+ "permission": {
806
+ "access": {
807
+ "protect": false,
808
+ "reProtect": false,
809
+ "unProtect": true
810
+ }
811
+ }
812
+ },
813
+ {
814
+ "role": "5",
815
+ "dataElement": "23",
816
+ "mask": "2",
817
+ "permission": {
818
+ "access": {
819
+ "protect": false,
820
+ "reProtect": false,
821
+ "unProtect": true
822
+ }
823
+ }
824
+ },
825
+ {
826
+ "role": "1",
827
+ "dataElement": "12",
828
+ "permission": {
829
+ "access": {
830
+ "protect": true,
831
+ "reProtect": true,
832
+ "unProtect": true
833
+ }
834
+ }
835
+ },
836
+ {
837
+ "role": "2",
838
+ "dataElement": "12",
839
+ "noAccessOperation": "PROTECTED_VALUE",
840
+ "permission": {
841
+ "access": {
842
+ "protect": true,
843
+ "reProtect": true,
844
+ "unProtect": false
845
+ }
846
+ }
847
+ },
848
+ {
849
+ "role": "3",
850
+ "dataElement": "12",
851
+ "permission": {
852
+ "access": {
853
+ "protect": true,
854
+ "reProtect": true,
855
+ "unProtect": false
856
+ }
857
+ }
858
+ },
859
+ {
860
+ "role": "4",
861
+ "dataElement": "12",
862
+ "permission": {
863
+ "access": {
864
+ "protect": true,
865
+ "reProtect": true,
866
+ "unProtect": false
867
+ }
868
+ }
869
+ },
870
+ {
871
+ "role": "5",
872
+ "dataElement": "12",
873
+ "permission": {
874
+ "access": {
875
+ "protect": true,
876
+ "reProtect": true,
877
+ "unProtect": false
878
+ }
879
+ }
880
+ },
881
+ {
882
+ "role": "1",
883
+ "dataElement": "17",
884
+ "permission": {
885
+ "access": {
886
+ "protect": true,
887
+ "reProtect": true,
888
+ "unProtect": true
889
+ }
890
+ }
891
+ },
892
+ {
893
+ "role": "2",
894
+ "dataElement": "17",
895
+ "noAccessOperation": "PROTECTED_VALUE",
896
+ "permission": {
897
+ "access": {
898
+ "protect": true,
899
+ "reProtect": true,
900
+ "unProtect": false
901
+ }
902
+ }
903
+ },
904
+ {
905
+ "role": "3",
906
+ "dataElement": "17",
907
+ "permission": {
908
+ "access": {
909
+ "protect": true,
910
+ "reProtect": true,
911
+ "unProtect": false
912
+ }
913
+ }
914
+ },
915
+ {
916
+ "role": "4",
917
+ "dataElement": "17",
918
+ "permission": {
919
+ "access": {
920
+ "protect": true,
921
+ "reProtect": true,
922
+ "unProtect": false
923
+ }
924
+ }
925
+ },
926
+ {
927
+ "role": "5",
928
+ "dataElement": "17",
929
+ "permission": {
930
+ "access": {
931
+ "protect": true,
932
+ "reProtect": true,
933
+ "unProtect": false
934
+ }
935
+ }
936
+ },
937
+ {
938
+ "role": "1",
939
+ "dataElement": "18",
940
+ "permission": {
941
+ "access": {
942
+ "protect": true,
943
+ "reProtect": true,
944
+ "unProtect": true
945
+ }
946
+ }
947
+ },
948
+ {
949
+ "role": "2",
950
+ "dataElement": "18",
951
+ "noAccessOperation": "PROTECTED_VALUE",
952
+ "permission": {
953
+ "access": {
954
+ "protect": true,
955
+ "reProtect": true,
956
+ "unProtect": false
957
+ }
958
+ }
959
+ },
960
+ {
961
+ "role": "3",
962
+ "dataElement": "18",
963
+ "permission": {
964
+ "access": {
965
+ "protect": true,
966
+ "reProtect": true,
967
+ "unProtect": false
968
+ }
969
+ }
970
+ },
971
+ {
972
+ "role": "4",
973
+ "dataElement": "18",
974
+ "permission": {
975
+ "access": {
976
+ "protect": true,
977
+ "reProtect": true,
978
+ "unProtect": false
979
+ }
980
+ }
981
+ },
982
+ {
983
+ "role": "5",
984
+ "dataElement": "18",
985
+ "permission": {
986
+ "access": {
987
+ "protect": true,
988
+ "reProtect": true,
989
+ "unProtect": false
990
+ }
991
+ }
992
+ },
993
+ {
994
+ "role": "1",
995
+ "dataElement": "21",
996
+ "permission": {
997
+ "access": {
998
+ "protect": true,
999
+ "reProtect": true,
1000
+ "unProtect": true
1001
+ }
1002
+ }
1003
+ },
1004
+ {
1005
+ "role": "2",
1006
+ "dataElement": "21",
1007
+ "noAccessOperation": "PROTECTED_VALUE",
1008
+ "permission": {
1009
+ "access": {
1010
+ "protect": true,
1011
+ "reProtect": true,
1012
+ "unProtect": false
1013
+ }
1014
+ }
1015
+ },
1016
+ {
1017
+ "role": "3",
1018
+ "dataElement": "21",
1019
+ "permission": {
1020
+ "access": {
1021
+ "protect": true,
1022
+ "reProtect": true,
1023
+ "unProtect": false
1024
+ }
1025
+ }
1026
+ },
1027
+ {
1028
+ "role": "4",
1029
+ "dataElement": "21",
1030
+ "permission": {
1031
+ "access": {
1032
+ "protect": true,
1033
+ "reProtect": true,
1034
+ "unProtect": false
1035
+ }
1036
+ }
1037
+ },
1038
+ {
1039
+ "role": "5",
1040
+ "dataElement": "21",
1041
+ "permission": {
1042
+ "access": {
1043
+ "protect": true,
1044
+ "reProtect": true,
1045
+ "unProtect": false
1046
+ }
1047
+ }
1048
+ },
1049
+ {
1050
+ "role": "1",
1051
+ "dataElement": "14",
1052
+ "permission": {
1053
+ "access": {
1054
+ "protect": true,
1055
+ "reProtect": true,
1056
+ "unProtect": true
1057
+ }
1058
+ }
1059
+ },
1060
+ {
1061
+ "role": "2",
1062
+ "dataElement": "14",
1063
+ "noAccessOperation": "PROTECTED_VALUE",
1064
+ "permission": {
1065
+ "access": {
1066
+ "protect": true,
1067
+ "reProtect": true,
1068
+ "unProtect": false
1069
+ }
1070
+ }
1071
+ },
1072
+ {
1073
+ "role": "4",
1074
+ "dataElement": "14",
1075
+ "permission": {
1076
+ "access": {
1077
+ "protect": false,
1078
+ "reProtect": false,
1079
+ "unProtect": true
1080
+ }
1081
+ }
1082
+ },
1083
+ {
1084
+ "role": "5",
1085
+ "dataElement": "14",
1086
+ "permission": {
1087
+ "access": {
1088
+ "protect": false,
1089
+ "reProtect": false,
1090
+ "unProtect": true
1091
+ }
1092
+ }
1093
+ },
1094
+ {
1095
+ "role": "1",
1096
+ "dataElement": "15",
1097
+ "permission": {
1098
+ "access": {
1099
+ "protect": true,
1100
+ "reProtect": true,
1101
+ "unProtect": true
1102
+ }
1103
+ }
1104
+ },
1105
+ {
1106
+ "role": "2",
1107
+ "dataElement": "15",
1108
+ "noAccessOperation": "PROTECTED_VALUE",
1109
+ "permission": {
1110
+ "access": {
1111
+ "protect": true,
1112
+ "reProtect": true,
1113
+ "unProtect": false
1114
+ }
1115
+ }
1116
+ },
1117
+ {
1118
+ "role": "4",
1119
+ "dataElement": "15",
1120
+ "permission": {
1121
+ "access": {
1122
+ "protect": false,
1123
+ "reProtect": false,
1124
+ "unProtect": true
1125
+ }
1126
+ }
1127
+ },
1128
+ {
1129
+ "role": "5",
1130
+ "dataElement": "15",
1131
+ "permission": {
1132
+ "access": {
1133
+ "protect": false,
1134
+ "reProtect": false,
1135
+ "unProtect": true
1136
+ }
1137
+ }
1138
+ },
1139
+ {
1140
+ "role": "1",
1141
+ "dataElement": "16",
1142
+ "permission": {
1143
+ "access": {
1144
+ "protect": true,
1145
+ "reProtect": true,
1146
+ "unProtect": true
1147
+ }
1148
+ }
1149
+ },
1150
+ {
1151
+ "role": "2",
1152
+ "dataElement": "16",
1153
+ "noAccessOperation": "PROTECTED_VALUE",
1154
+ "permission": {
1155
+ "access": {
1156
+ "protect": true,
1157
+ "reProtect": true,
1158
+ "unProtect": false
1159
+ }
1160
+ }
1161
+ },
1162
+ {
1163
+ "role": "4",
1164
+ "dataElement": "16",
1165
+ "permission": {
1166
+ "access": {
1167
+ "protect": false,
1168
+ "reProtect": false,
1169
+ "unProtect": true
1170
+ }
1171
+ }
1172
+ },
1173
+ {
1174
+ "role": "5",
1175
+ "dataElement": "16",
1176
+ "permission": {
1177
+ "access": {
1178
+ "protect": false,
1179
+ "reProtect": false,
1180
+ "unProtect": true
1181
+ }
1182
+ }
1183
+ },
1184
+ {
1185
+ "role": "1",
1186
+ "dataElement": "24",
1187
+ "permission": {
1188
+ "access": {
1189
+ "protect": true,
1190
+ "reProtect": true,
1191
+ "unProtect": true
1192
+ }
1193
+ }
1194
+ },
1195
+ {
1196
+ "role": "2",
1197
+ "dataElement": "24",
1198
+ "noAccessOperation": "PROTECTED_VALUE",
1199
+ "permission": {
1200
+ "access": {
1201
+ "protect": true,
1202
+ "reProtect": true,
1203
+ "unProtect": false
1204
+ }
1205
+ }
1206
+ },
1207
+ {
1208
+ "role": "4",
1209
+ "dataElement": "24",
1210
+ "permission": {
1211
+ "access": {
1212
+ "protect": false,
1213
+ "reProtect": false,
1214
+ "unProtect": true
1215
+ }
1216
+ }
1217
+ },
1218
+ {
1219
+ "role": "5",
1220
+ "dataElement": "24",
1221
+ "permission": {
1222
+ "access": {
1223
+ "protect": false,
1224
+ "reProtect": false,
1225
+ "unProtect": true
1226
+ }
1227
+ }
1228
+ },
1229
+ {
1230
+ "role": "1",
1231
+ "dataElement": "25",
1232
+ "permission": {
1233
+ "access": {
1234
+ "protect": true,
1235
+ "reProtect": true,
1236
+ "unProtect": true
1237
+ }
1238
+ }
1239
+ },
1240
+ {
1241
+ "role": "2",
1242
+ "dataElement": "25",
1243
+ "noAccessOperation": "PROTECTED_VALUE",
1244
+ "permission": {
1245
+ "access": {
1246
+ "protect": true,
1247
+ "reProtect": true,
1248
+ "unProtect": false
1249
+ }
1250
+ }
1251
+ },
1252
+ {
1253
+ "role": "4",
1254
+ "dataElement": "25",
1255
+ "permission": {
1256
+ "access": {
1257
+ "protect": false,
1258
+ "reProtect": false,
1259
+ "unProtect": true
1260
+ }
1261
+ }
1262
+ },
1263
+ {
1264
+ "role": "5",
1265
+ "dataElement": "25",
1266
+ "mask": "1",
1267
+ "permission": {
1268
+ "access": {
1269
+ "protect": false,
1270
+ "reProtect": false,
1271
+ "unProtect": true
1272
+ }
1273
+ }
1274
+ },
1275
+ {
1276
+ "role": "1",
1277
+ "dataElement": "26",
1278
+ "permission": {
1279
+ "access": {
1280
+ "protect": true,
1281
+ "reProtect": true,
1282
+ "unProtect": true
1283
+ }
1284
+ }
1285
+ },
1286
+ {
1287
+ "role": "2",
1288
+ "dataElement": "26",
1289
+ "noAccessOperation": "PROTECTED_VALUE",
1290
+ "permission": {
1291
+ "access": {
1292
+ "protect": true,
1293
+ "reProtect": true,
1294
+ "unProtect": false
1295
+ }
1296
+ }
1297
+ },
1298
+ {
1299
+ "role": "4",
1300
+ "dataElement": "26",
1301
+ "permission": {
1302
+ "access": {
1303
+ "protect": false,
1304
+ "reProtect": false,
1305
+ "unProtect": true
1306
+ }
1307
+ }
1308
+ },
1309
+ {
1310
+ "role": "5",
1311
+ "dataElement": "26",
1312
+ "permission": {
1313
+ "access": {
1314
+ "protect": false,
1315
+ "reProtect": false,
1316
+ "unProtect": true
1317
+ }
1318
+ }
1319
+ },
1320
+ {
1321
+ "role": "1",
1322
+ "dataElement": "27",
1323
+ "permission": {
1324
+ "access": {
1325
+ "protect": true,
1326
+ "reProtect": true,
1327
+ "unProtect": true
1328
+ }
1329
+ }
1330
+ },
1331
+ {
1332
+ "role": "2",
1333
+ "dataElement": "27",
1334
+ "noAccessOperation": "PROTECTED_VALUE",
1335
+ "permission": {
1336
+ "access": {
1337
+ "protect": true,
1338
+ "reProtect": true,
1339
+ "unProtect": false
1340
+ }
1341
+ }
1342
+ },
1343
+ {
1344
+ "role": "4",
1345
+ "dataElement": "27",
1346
+ "permission": {
1347
+ "access": {
1348
+ "protect": false,
1349
+ "reProtect": false,
1350
+ "unProtect": true
1351
+ }
1352
+ }
1353
+ },
1354
+ {
1355
+ "role": "1",
1356
+ "dataElement": "28",
1357
+ "permission": {
1358
+ "access": {
1359
+ "protect": true,
1360
+ "reProtect": true,
1361
+ "unProtect": true
1362
+ }
1363
+ }
1364
+ },
1365
+ {
1366
+ "role": "2",
1367
+ "dataElement": "28",
1368
+ "noAccessOperation": "PROTECTED_VALUE",
1369
+ "permission": {
1370
+ "access": {
1371
+ "protect": true,
1372
+ "reProtect": true,
1373
+ "unProtect": false
1374
+ }
1375
+ }
1376
+ },
1377
+ {
1378
+ "role": "4",
1379
+ "dataElement": "28",
1380
+ "permission": {
1381
+ "access": {
1382
+ "protect": false,
1383
+ "reProtect": false,
1384
+ "unProtect": true
1385
+ }
1386
+ }
1387
+ },
1388
+ {
1389
+ "role": "1",
1390
+ "dataElement": "29",
1391
+ "permission": {
1392
+ "access": {
1393
+ "protect": true,
1394
+ "reProtect": true,
1395
+ "unProtect": true
1396
+ }
1397
+ }
1398
+ },
1399
+ {
1400
+ "role": "2",
1401
+ "dataElement": "29",
1402
+ "noAccessOperation": "PROTECTED_VALUE",
1403
+ "permission": {
1404
+ "access": {
1405
+ "protect": true,
1406
+ "reProtect": true,
1407
+ "unProtect": false
1408
+ }
1409
+ }
1410
+ },
1411
+ {
1412
+ "role": "4",
1413
+ "dataElement": "29",
1414
+ "permission": {
1415
+ "access": {
1416
+ "protect": false,
1417
+ "reProtect": false,
1418
+ "unProtect": true
1419
+ }
1420
+ }
1421
+ },
1422
+ {
1423
+ "role": "1",
1424
+ "dataElement": "30",
1425
+ "permission": {
1426
+ "access": {
1427
+ "protect": true,
1428
+ "reProtect": true,
1429
+ "unProtect": true
1430
+ }
1431
+ }
1432
+ },
1433
+ {
1434
+ "role": "2",
1435
+ "dataElement": "30",
1436
+ "noAccessOperation": "PROTECTED_VALUE",
1437
+ "permission": {
1438
+ "access": {
1439
+ "protect": true,
1440
+ "reProtect": true,
1441
+ "unProtect": false
1442
+ }
1443
+ }
1444
+ },
1445
+ {
1446
+ "role": "4",
1447
+ "dataElement": "30",
1448
+ "permission": {
1449
+ "access": {
1450
+ "protect": false,
1451
+ "reProtect": false,
1452
+ "unProtect": true
1453
+ }
1454
+ }
1455
+ },
1456
+ {
1457
+ "role": "1",
1458
+ "dataElement": "31",
1459
+ "permission": {
1460
+ "access": {
1461
+ "protect": true,
1462
+ "reProtect": true,
1463
+ "unProtect": true
1464
+ }
1465
+ }
1466
+ },
1467
+ {
1468
+ "role": "2",
1469
+ "dataElement": "31",
1470
+ "noAccessOperation": "PROTECTED_VALUE",
1471
+ "permission": {
1472
+ "access": {
1473
+ "protect": true,
1474
+ "reProtect": true,
1475
+ "unProtect": false
1476
+ }
1477
+ }
1478
+ },
1479
+ {
1480
+ "role": "4",
1481
+ "dataElement": "31",
1482
+ "permission": {
1483
+ "access": {
1484
+ "protect": false,
1485
+ "reProtect": false,
1486
+ "unProtect": true
1487
+ }
1488
+ }
1489
+ },
1490
+ {
1491
+ "role": "1",
1492
+ "dataElement": "34",
1493
+ "permission": {
1494
+ "access": {
1495
+ "protect": true,
1496
+ "reProtect": true,
1497
+ "unProtect": true
1498
+ }
1499
+ }
1500
+ },
1501
+ {
1502
+ "role": "2",
1503
+ "dataElement": "34",
1504
+ "noAccessOperation": "PROTECTED_VALUE",
1505
+ "permission": {
1506
+ "access": {
1507
+ "protect": true,
1508
+ "reProtect": true,
1509
+ "unProtect": false
1510
+ }
1511
+ }
1512
+ },
1513
+ {
1514
+ "role": "4",
1515
+ "dataElement": "34",
1516
+ "permission": {
1517
+ "access": {
1518
+ "protect": false,
1519
+ "reProtect": false,
1520
+ "unProtect": true
1521
+ }
1522
+ }
1523
+ },
1524
+ {
1525
+ "role": "1",
1526
+ "dataElement": "35",
1527
+ "permission": {
1528
+ "access": {
1529
+ "protect": true,
1530
+ "reProtect": true,
1531
+ "unProtect": true
1532
+ }
1533
+ }
1534
+ },
1535
+ {
1536
+ "role": "2",
1537
+ "dataElement": "35",
1538
+ "noAccessOperation": "PROTECTED_VALUE",
1539
+ "permission": {
1540
+ "access": {
1541
+ "protect": true,
1542
+ "reProtect": true,
1543
+ "unProtect": false
1544
+ }
1545
+ }
1546
+ },
1547
+ {
1548
+ "role": "4",
1549
+ "dataElement": "35",
1550
+ "permission": {
1551
+ "access": {
1552
+ "protect": false,
1553
+ "reProtect": false,
1554
+ "unProtect": true
1555
+ }
1556
+ }
1557
+ },
1558
+ {
1559
+ "role": "1",
1560
+ "dataElement": "32",
1561
+ "permission": {
1562
+ "access": {
1563
+ "protect": true,
1564
+ "reProtect": true,
1565
+ "unProtect": true
1566
+ }
1567
+ }
1568
+ },
1569
+ {
1570
+ "role": "2",
1571
+ "dataElement": "32",
1572
+ "noAccessOperation": "NULL_VALUE",
1573
+ "permission": {
1574
+ "access": {
1575
+ "protect": true,
1576
+ "reProtect": true,
1577
+ "unProtect": false
1578
+ }
1579
+ }
1580
+ },
1581
+ {
1582
+ "role": "4",
1583
+ "dataElement": "32",
1584
+ "mask": "1",
1585
+ "permission": {
1586
+ "access": {
1587
+ "protect": false,
1588
+ "reProtect": false,
1589
+ "unProtect": true
1590
+ }
1591
+ }
1592
+ },
1593
+ {
1594
+ "role": "5",
1595
+ "dataElement": "32",
1596
+ "mask": "1",
1597
+ "permission": {
1598
+ "access": {
1599
+ "protect": false,
1600
+ "reProtect": false,
1601
+ "unProtect": true
1602
+ }
1603
+ }
1604
+ },
1605
+ {
1606
+ "role": "1",
1607
+ "dataElement": "33",
1608
+ "permission": {
1609
+ "access": {
1610
+ "protect": true,
1611
+ "reProtect": true,
1612
+ "unProtect": true
1613
+ }
1614
+ }
1615
+ },
1616
+ {
1617
+ "role": "2",
1618
+ "dataElement": "33",
1619
+ "noAccessOperation": "NULL_VALUE",
1620
+ "permission": {
1621
+ "access": {
1622
+ "protect": true,
1623
+ "reProtect": true,
1624
+ "unProtect": false
1625
+ }
1626
+ }
1627
+ },
1628
+ {
1629
+ "role": "4",
1630
+ "dataElement": "33",
1631
+ "permission": {
1632
+ "access": {
1633
+ "protect": false,
1634
+ "reProtect": false,
1635
+ "unProtect": true
1636
+ }
1637
+ }
1638
+ }
1639
+ ]