@objectstack/plugin-security 7.1.0 → 7.2.1

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.
package/dist/index.d.mts CHANGED
@@ -527,6 +527,13 @@ declare const securityObjects: ((Omit<{
527
527
  caseSensitive?: boolean | undefined;
528
528
  autonumberFormat?: string | undefined;
529
529
  }>;
530
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
531
+ _lockReason?: string | undefined;
532
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
533
+ _provenance?: "package" | "env-forced" | "org" | undefined;
534
+ _packageId?: string | undefined;
535
+ _packageVersion?: string | undefined;
536
+ _lockDocsUrl?: string | undefined;
530
537
  label?: string | undefined;
531
538
  pluralLabel?: string | undefined;
532
539
  description?: string | undefined;
@@ -672,7 +679,7 @@ declare const securityObjects: ((Omit<{
672
679
  wrap?: boolean | undefined;
673
680
  type?: string | undefined;
674
681
  pinned?: "left" | "right" | undefined;
675
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
682
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
676
683
  link?: boolean | undefined;
677
684
  action?: string | undefined;
678
685
  }[];
@@ -721,7 +728,7 @@ declare const securityObjects: ((Omit<{
721
728
  bordered?: boolean | undefined;
722
729
  compactToolbar?: boolean | undefined;
723
730
  selection?: {
724
- type: "multiple" | "single" | "none";
731
+ type: "none" | "multiple" | "single";
725
732
  } | undefined;
726
733
  navigation?: {
727
734
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -916,7 +923,7 @@ declare const securityObjects: ((Omit<{
916
923
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
917
924
  } | undefined;
918
925
  recordTypes?: string[] | undefined;
919
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
926
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
920
927
  publicSharing?: {
921
928
  enabled: boolean;
922
929
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -1019,6 +1026,11 @@ declare const securityObjects: ((Omit<{
1019
1026
  role?: string | undefined;
1020
1027
  } | undefined;
1021
1028
  }[] | undefined;
1029
+ protection?: {
1030
+ lock: "full" | "none" | "no-overlay" | "no-delete";
1031
+ reason: string;
1032
+ docsUrl?: string | undefined;
1033
+ } | undefined;
1022
1034
  }, "fields"> & Pick<{
1023
1035
  readonly name: "sys_role";
1024
1036
  readonly label: "Role";
@@ -1026,6 +1038,11 @@ declare const securityObjects: ((Omit<{
1026
1038
  readonly icon: "shield";
1027
1039
  readonly isSystem: true;
1028
1040
  readonly managedBy: "config";
1041
+ readonly protection: {
1042
+ readonly lock: "no-overlay";
1043
+ readonly reason: "RBAC schema is platform-defined \u2014 see ADR-0010.";
1044
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
1045
+ };
1029
1046
  readonly description: "Role definitions for RBAC access control";
1030
1047
  readonly displayNameField: "label";
1031
1048
  readonly titleFormat: "{label}";
@@ -2985,6 +3002,13 @@ declare const securityObjects: ((Omit<{
2985
3002
  caseSensitive?: boolean | undefined;
2986
3003
  autonumberFormat?: string | undefined;
2987
3004
  }>;
3005
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
3006
+ _lockReason?: string | undefined;
3007
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
3008
+ _provenance?: "package" | "env-forced" | "org" | undefined;
3009
+ _packageId?: string | undefined;
3010
+ _packageVersion?: string | undefined;
3011
+ _lockDocsUrl?: string | undefined;
2988
3012
  label?: string | undefined;
2989
3013
  pluralLabel?: string | undefined;
2990
3014
  description?: string | undefined;
@@ -3130,7 +3154,7 @@ declare const securityObjects: ((Omit<{
3130
3154
  wrap?: boolean | undefined;
3131
3155
  type?: string | undefined;
3132
3156
  pinned?: "left" | "right" | undefined;
3133
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
3157
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
3134
3158
  link?: boolean | undefined;
3135
3159
  action?: string | undefined;
3136
3160
  }[];
@@ -3179,7 +3203,7 @@ declare const securityObjects: ((Omit<{
3179
3203
  bordered?: boolean | undefined;
3180
3204
  compactToolbar?: boolean | undefined;
3181
3205
  selection?: {
3182
- type: "multiple" | "single" | "none";
3206
+ type: "none" | "multiple" | "single";
3183
3207
  } | undefined;
3184
3208
  navigation?: {
3185
3209
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -3374,7 +3398,7 @@ declare const securityObjects: ((Omit<{
3374
3398
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
3375
3399
  } | undefined;
3376
3400
  recordTypes?: string[] | undefined;
3377
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
3401
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
3378
3402
  publicSharing?: {
3379
3403
  enabled: boolean;
3380
3404
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -3477,6 +3501,11 @@ declare const securityObjects: ((Omit<{
3477
3501
  role?: string | undefined;
3478
3502
  } | undefined;
3479
3503
  }[] | undefined;
3504
+ protection?: {
3505
+ lock: "full" | "none" | "no-overlay" | "no-delete";
3506
+ reason: string;
3507
+ docsUrl?: string | undefined;
3508
+ } | undefined;
3480
3509
  }, "fields"> & Pick<{
3481
3510
  readonly name: "sys_permission_set";
3482
3511
  readonly label: "Permission Set";
@@ -3484,6 +3513,11 @@ declare const securityObjects: ((Omit<{
3484
3513
  readonly icon: "lock";
3485
3514
  readonly isSystem: true;
3486
3515
  readonly managedBy: "config";
3516
+ readonly protection: {
3517
+ readonly lock: "no-overlay";
3518
+ readonly reason: "RBAC schema is platform-defined \u2014 see ADR-0010.";
3519
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
3520
+ };
3487
3521
  readonly description: "Named permission groupings for fine-grained access control";
3488
3522
  readonly displayNameField: "label";
3489
3523
  readonly titleFormat: "{label}";
@@ -5932,6 +5966,13 @@ declare const securityObjects: ((Omit<{
5932
5966
  caseSensitive?: boolean | undefined;
5933
5967
  autonumberFormat?: string | undefined;
5934
5968
  }>;
5969
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
5970
+ _lockReason?: string | undefined;
5971
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
5972
+ _provenance?: "package" | "env-forced" | "org" | undefined;
5973
+ _packageId?: string | undefined;
5974
+ _packageVersion?: string | undefined;
5975
+ _lockDocsUrl?: string | undefined;
5935
5976
  label?: string | undefined;
5936
5977
  pluralLabel?: string | undefined;
5937
5978
  description?: string | undefined;
@@ -6077,7 +6118,7 @@ declare const securityObjects: ((Omit<{
6077
6118
  wrap?: boolean | undefined;
6078
6119
  type?: string | undefined;
6079
6120
  pinned?: "left" | "right" | undefined;
6080
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
6121
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
6081
6122
  link?: boolean | undefined;
6082
6123
  action?: string | undefined;
6083
6124
  }[];
@@ -6126,7 +6167,7 @@ declare const securityObjects: ((Omit<{
6126
6167
  bordered?: boolean | undefined;
6127
6168
  compactToolbar?: boolean | undefined;
6128
6169
  selection?: {
6129
- type: "multiple" | "single" | "none";
6170
+ type: "none" | "multiple" | "single";
6130
6171
  } | undefined;
6131
6172
  navigation?: {
6132
6173
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -6321,7 +6362,7 @@ declare const securityObjects: ((Omit<{
6321
6362
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
6322
6363
  } | undefined;
6323
6364
  recordTypes?: string[] | undefined;
6324
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
6365
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
6325
6366
  publicSharing?: {
6326
6367
  enabled: boolean;
6327
6368
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -6424,6 +6465,11 @@ declare const securityObjects: ((Omit<{
6424
6465
  role?: string | undefined;
6425
6466
  } | undefined;
6426
6467
  }[] | undefined;
6468
+ protection?: {
6469
+ lock: "full" | "none" | "no-overlay" | "no-delete";
6470
+ reason: string;
6471
+ docsUrl?: string | undefined;
6472
+ } | undefined;
6427
6473
  }, "fields"> & Pick<{
6428
6474
  readonly name: "sys_user_permission_set";
6429
6475
  readonly label: "User Permission Set";
@@ -7876,6 +7922,13 @@ declare const securityObjects: ((Omit<{
7876
7922
  caseSensitive?: boolean | undefined;
7877
7923
  autonumberFormat?: string | undefined;
7878
7924
  }>;
7925
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
7926
+ _lockReason?: string | undefined;
7927
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
7928
+ _provenance?: "package" | "env-forced" | "org" | undefined;
7929
+ _packageId?: string | undefined;
7930
+ _packageVersion?: string | undefined;
7931
+ _lockDocsUrl?: string | undefined;
7879
7932
  label?: string | undefined;
7880
7933
  pluralLabel?: string | undefined;
7881
7934
  description?: string | undefined;
@@ -8021,7 +8074,7 @@ declare const securityObjects: ((Omit<{
8021
8074
  wrap?: boolean | undefined;
8022
8075
  type?: string | undefined;
8023
8076
  pinned?: "left" | "right" | undefined;
8024
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
8077
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
8025
8078
  link?: boolean | undefined;
8026
8079
  action?: string | undefined;
8027
8080
  }[];
@@ -8070,7 +8123,7 @@ declare const securityObjects: ((Omit<{
8070
8123
  bordered?: boolean | undefined;
8071
8124
  compactToolbar?: boolean | undefined;
8072
8125
  selection?: {
8073
- type: "multiple" | "single" | "none";
8126
+ type: "none" | "multiple" | "single";
8074
8127
  } | undefined;
8075
8128
  navigation?: {
8076
8129
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -8265,7 +8318,7 @@ declare const securityObjects: ((Omit<{
8265
8318
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
8266
8319
  } | undefined;
8267
8320
  recordTypes?: string[] | undefined;
8268
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
8321
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
8269
8322
  publicSharing?: {
8270
8323
  enabled: boolean;
8271
8324
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -8368,6 +8421,11 @@ declare const securityObjects: ((Omit<{
8368
8421
  role?: string | undefined;
8369
8422
  } | undefined;
8370
8423
  }[] | undefined;
8424
+ protection?: {
8425
+ lock: "full" | "none" | "no-overlay" | "no-delete";
8426
+ reason: string;
8427
+ docsUrl?: string | undefined;
8428
+ } | undefined;
8371
8429
  }, "fields"> & Pick<{
8372
8430
  readonly name: "sys_role_permission_set";
8373
8431
  readonly label: "Role Permission Set";
package/dist/index.d.ts CHANGED
@@ -527,6 +527,13 @@ declare const securityObjects: ((Omit<{
527
527
  caseSensitive?: boolean | undefined;
528
528
  autonumberFormat?: string | undefined;
529
529
  }>;
530
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
531
+ _lockReason?: string | undefined;
532
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
533
+ _provenance?: "package" | "env-forced" | "org" | undefined;
534
+ _packageId?: string | undefined;
535
+ _packageVersion?: string | undefined;
536
+ _lockDocsUrl?: string | undefined;
530
537
  label?: string | undefined;
531
538
  pluralLabel?: string | undefined;
532
539
  description?: string | undefined;
@@ -672,7 +679,7 @@ declare const securityObjects: ((Omit<{
672
679
  wrap?: boolean | undefined;
673
680
  type?: string | undefined;
674
681
  pinned?: "left" | "right" | undefined;
675
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
682
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
676
683
  link?: boolean | undefined;
677
684
  action?: string | undefined;
678
685
  }[];
@@ -721,7 +728,7 @@ declare const securityObjects: ((Omit<{
721
728
  bordered?: boolean | undefined;
722
729
  compactToolbar?: boolean | undefined;
723
730
  selection?: {
724
- type: "multiple" | "single" | "none";
731
+ type: "none" | "multiple" | "single";
725
732
  } | undefined;
726
733
  navigation?: {
727
734
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -916,7 +923,7 @@ declare const securityObjects: ((Omit<{
916
923
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
917
924
  } | undefined;
918
925
  recordTypes?: string[] | undefined;
919
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
926
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
920
927
  publicSharing?: {
921
928
  enabled: boolean;
922
929
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -1019,6 +1026,11 @@ declare const securityObjects: ((Omit<{
1019
1026
  role?: string | undefined;
1020
1027
  } | undefined;
1021
1028
  }[] | undefined;
1029
+ protection?: {
1030
+ lock: "full" | "none" | "no-overlay" | "no-delete";
1031
+ reason: string;
1032
+ docsUrl?: string | undefined;
1033
+ } | undefined;
1022
1034
  }, "fields"> & Pick<{
1023
1035
  readonly name: "sys_role";
1024
1036
  readonly label: "Role";
@@ -1026,6 +1038,11 @@ declare const securityObjects: ((Omit<{
1026
1038
  readonly icon: "shield";
1027
1039
  readonly isSystem: true;
1028
1040
  readonly managedBy: "config";
1041
+ readonly protection: {
1042
+ readonly lock: "no-overlay";
1043
+ readonly reason: "RBAC schema is platform-defined \u2014 see ADR-0010.";
1044
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
1045
+ };
1029
1046
  readonly description: "Role definitions for RBAC access control";
1030
1047
  readonly displayNameField: "label";
1031
1048
  readonly titleFormat: "{label}";
@@ -2985,6 +3002,13 @@ declare const securityObjects: ((Omit<{
2985
3002
  caseSensitive?: boolean | undefined;
2986
3003
  autonumberFormat?: string | undefined;
2987
3004
  }>;
3005
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
3006
+ _lockReason?: string | undefined;
3007
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
3008
+ _provenance?: "package" | "env-forced" | "org" | undefined;
3009
+ _packageId?: string | undefined;
3010
+ _packageVersion?: string | undefined;
3011
+ _lockDocsUrl?: string | undefined;
2988
3012
  label?: string | undefined;
2989
3013
  pluralLabel?: string | undefined;
2990
3014
  description?: string | undefined;
@@ -3130,7 +3154,7 @@ declare const securityObjects: ((Omit<{
3130
3154
  wrap?: boolean | undefined;
3131
3155
  type?: string | undefined;
3132
3156
  pinned?: "left" | "right" | undefined;
3133
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
3157
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
3134
3158
  link?: boolean | undefined;
3135
3159
  action?: string | undefined;
3136
3160
  }[];
@@ -3179,7 +3203,7 @@ declare const securityObjects: ((Omit<{
3179
3203
  bordered?: boolean | undefined;
3180
3204
  compactToolbar?: boolean | undefined;
3181
3205
  selection?: {
3182
- type: "multiple" | "single" | "none";
3206
+ type: "none" | "multiple" | "single";
3183
3207
  } | undefined;
3184
3208
  navigation?: {
3185
3209
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -3374,7 +3398,7 @@ declare const securityObjects: ((Omit<{
3374
3398
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
3375
3399
  } | undefined;
3376
3400
  recordTypes?: string[] | undefined;
3377
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
3401
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
3378
3402
  publicSharing?: {
3379
3403
  enabled: boolean;
3380
3404
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -3477,6 +3501,11 @@ declare const securityObjects: ((Omit<{
3477
3501
  role?: string | undefined;
3478
3502
  } | undefined;
3479
3503
  }[] | undefined;
3504
+ protection?: {
3505
+ lock: "full" | "none" | "no-overlay" | "no-delete";
3506
+ reason: string;
3507
+ docsUrl?: string | undefined;
3508
+ } | undefined;
3480
3509
  }, "fields"> & Pick<{
3481
3510
  readonly name: "sys_permission_set";
3482
3511
  readonly label: "Permission Set";
@@ -3484,6 +3513,11 @@ declare const securityObjects: ((Omit<{
3484
3513
  readonly icon: "lock";
3485
3514
  readonly isSystem: true;
3486
3515
  readonly managedBy: "config";
3516
+ readonly protection: {
3517
+ readonly lock: "no-overlay";
3518
+ readonly reason: "RBAC schema is platform-defined \u2014 see ADR-0010.";
3519
+ readonly docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection";
3520
+ };
3487
3521
  readonly description: "Named permission groupings for fine-grained access control";
3488
3522
  readonly displayNameField: "label";
3489
3523
  readonly titleFormat: "{label}";
@@ -5932,6 +5966,13 @@ declare const securityObjects: ((Omit<{
5932
5966
  caseSensitive?: boolean | undefined;
5933
5967
  autonumberFormat?: string | undefined;
5934
5968
  }>;
5969
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
5970
+ _lockReason?: string | undefined;
5971
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
5972
+ _provenance?: "package" | "env-forced" | "org" | undefined;
5973
+ _packageId?: string | undefined;
5974
+ _packageVersion?: string | undefined;
5975
+ _lockDocsUrl?: string | undefined;
5935
5976
  label?: string | undefined;
5936
5977
  pluralLabel?: string | undefined;
5937
5978
  description?: string | undefined;
@@ -6077,7 +6118,7 @@ declare const securityObjects: ((Omit<{
6077
6118
  wrap?: boolean | undefined;
6078
6119
  type?: string | undefined;
6079
6120
  pinned?: "left" | "right" | undefined;
6080
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
6121
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
6081
6122
  link?: boolean | undefined;
6082
6123
  action?: string | undefined;
6083
6124
  }[];
@@ -6126,7 +6167,7 @@ declare const securityObjects: ((Omit<{
6126
6167
  bordered?: boolean | undefined;
6127
6168
  compactToolbar?: boolean | undefined;
6128
6169
  selection?: {
6129
- type: "multiple" | "single" | "none";
6170
+ type: "none" | "multiple" | "single";
6130
6171
  } | undefined;
6131
6172
  navigation?: {
6132
6173
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -6321,7 +6362,7 @@ declare const securityObjects: ((Omit<{
6321
6362
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
6322
6363
  } | undefined;
6323
6364
  recordTypes?: string[] | undefined;
6324
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
6365
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
6325
6366
  publicSharing?: {
6326
6367
  enabled: boolean;
6327
6368
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -6424,6 +6465,11 @@ declare const securityObjects: ((Omit<{
6424
6465
  role?: string | undefined;
6425
6466
  } | undefined;
6426
6467
  }[] | undefined;
6468
+ protection?: {
6469
+ lock: "full" | "none" | "no-overlay" | "no-delete";
6470
+ reason: string;
6471
+ docsUrl?: string | undefined;
6472
+ } | undefined;
6427
6473
  }, "fields"> & Pick<{
6428
6474
  readonly name: "sys_user_permission_set";
6429
6475
  readonly label: "User Permission Set";
@@ -7876,6 +7922,13 @@ declare const securityObjects: ((Omit<{
7876
7922
  caseSensitive?: boolean | undefined;
7877
7923
  autonumberFormat?: string | undefined;
7878
7924
  }>;
7925
+ _lock?: "full" | "none" | "no-overlay" | "no-delete" | undefined;
7926
+ _lockReason?: string | undefined;
7927
+ _lockSource?: "artifact" | "package" | "env-forced" | undefined;
7928
+ _provenance?: "package" | "env-forced" | "org" | undefined;
7929
+ _packageId?: string | undefined;
7930
+ _packageVersion?: string | undefined;
7931
+ _lockDocsUrl?: string | undefined;
7879
7932
  label?: string | undefined;
7880
7933
  pluralLabel?: string | undefined;
7881
7934
  description?: string | undefined;
@@ -8021,7 +8074,7 @@ declare const securityObjects: ((Omit<{
8021
8074
  wrap?: boolean | undefined;
8022
8075
  type?: string | undefined;
8023
8076
  pinned?: "left" | "right" | undefined;
8024
- summary?: "min" | "max" | "count" | "sum" | "avg" | "none" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
8077
+ summary?: "none" | "min" | "max" | "count" | "sum" | "avg" | "count_empty" | "count_filled" | "count_unique" | "percent_empty" | "percent_filled" | undefined;
8025
8078
  link?: boolean | undefined;
8026
8079
  action?: string | undefined;
8027
8080
  }[];
@@ -8070,7 +8123,7 @@ declare const securityObjects: ((Omit<{
8070
8123
  bordered?: boolean | undefined;
8071
8124
  compactToolbar?: boolean | undefined;
8072
8125
  selection?: {
8073
- type: "multiple" | "single" | "none";
8126
+ type: "none" | "multiple" | "single";
8074
8127
  } | undefined;
8075
8128
  navigation?: {
8076
8129
  mode: "none" | "split" | "page" | "modal" | "drawer" | "popover" | "new_window";
@@ -8265,7 +8318,7 @@ declare const securityObjects: ((Omit<{
8265
8318
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "history" | "bulk" | "aggregate" | "restore" | "purge" | "export")[] | undefined;
8266
8319
  } | undefined;
8267
8320
  recordTypes?: string[] | undefined;
8268
- sharingModel?: "read" | "full" | "private" | "read_write" | undefined;
8321
+ sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
8269
8322
  publicSharing?: {
8270
8323
  enabled: boolean;
8271
8324
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -8368,6 +8421,11 @@ declare const securityObjects: ((Omit<{
8368
8421
  role?: string | undefined;
8369
8422
  } | undefined;
8370
8423
  }[] | undefined;
8424
+ protection?: {
8425
+ lock: "full" | "none" | "no-overlay" | "no-delete";
8426
+ reason: string;
8427
+ docsUrl?: string | undefined;
8428
+ } | undefined;
8371
8429
  }, "fields"> & Pick<{
8372
8430
  readonly name: "sys_role_permission_set";
8373
8431
  readonly label: "Role Permission Set";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/plugin-security",
3
- "version": "7.1.0",
3
+ "version": "7.2.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Security Plugin for ObjectStack — RBAC, RLS, and Field-Level Security Runtime",
6
6
  "main": "dist/index.js",
@@ -13,9 +13,9 @@
13
13
  }
14
14
  },
15
15
  "dependencies": {
16
- "@objectstack/core": "7.1.0",
17
- "@objectstack/platform-objects": "7.1.0",
18
- "@objectstack/spec": "7.1.0"
16
+ "@objectstack/core": "7.2.1",
17
+ "@objectstack/platform-objects": "7.2.1",
18
+ "@objectstack/spec": "7.2.1"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/node": "^25.9.1",