@objectstack/platform-objects 13.0.0 → 14.3.0

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.
@@ -1331,67 +1331,12 @@ var enMetadataForms = {
1331
1331
  }
1332
1332
  }
1333
1333
  },
1334
- profile: {
1335
- label: "Profile",
1334
+ position: {
1335
+ label: "Position",
1336
1336
  sections: {
1337
- identity: {
1338
- label: "Identity",
1339
- description: "Permission Sets stack on top of a Profile to grant additional access. Profiles are the base set assigned 1:1 to each user."
1340
- },
1341
- system_permissions: {
1342
- label: "System Permissions",
1343
- description: "High-level capabilities not tied to a specific object \u2014 e.g. manage_users, view_audit_logs."
1344
- },
1345
- object_and_field_permissions: {
1346
- label: "Object & Field Permissions",
1347
- description: "Per-object CRUD + per-field FLS. Edit via the matrix editor or paste JSON here."
1348
- },
1349
- tab_and_row_level_security: {
1350
- label: "Tab & Row-Level Security",
1351
- description: "Tab visibility, RLS policies, and custom context variables for predicate evaluation."
1352
- }
1353
- },
1354
- fields: {
1355
- name: {
1356
- label: "Name",
1357
- helpText: "Machine name (snake_case)"
1358
- },
1359
- label: {
1360
- label: "Label",
1361
- helpText: "Display label for admins"
1362
- },
1363
- systemPermissions: {
1364
- label: "System Permissions",
1365
- helpText: "List of system capability keys"
1366
- },
1367
- objects: {
1368
- label: "Objects",
1369
- helpText: '{ "account": { allowRead: true, allowEdit: true, ... } }'
1370
- },
1371
- fields: {
1372
- label: "Fields",
1373
- helpText: '{ "account.amount": { readable: true, editable: false } }'
1374
- },
1375
- tabPermissions: {
1376
- label: "Tab Permissions",
1377
- helpText: '{ "app_crm": "visible", "app_admin": "hidden" }'
1378
- },
1379
- rowLevelSecurity: {
1380
- label: "Row Level Security",
1381
- helpText: "Array of RLS policies (see rls.zod.ts)"
1382
- },
1383
- contextVariables: {
1384
- label: "Context Variables",
1385
- helpText: "Custom variables referenced in RLS predicates"
1386
- }
1387
- }
1388
- },
1389
- role: {
1390
- label: "Role",
1391
- sections: {
1392
- role: {
1393
- label: "Role",
1394
- description: "Roles compose a hierarchy used for record sharing (sales VP \u2192 sales mgr \u2192 sales rep). Permissions themselves live on Permission Sets and Profiles."
1337
+ position: {
1338
+ label: "Position",
1339
+ description: "A position is a flat, assignable bundle of permission sets (e.g. sales_rep, sales_manager). Capability lives on permission sets; visibility depth lives on the business-unit tree."
1395
1340
  }
1396
1341
  },
1397
1342
  fields: {
@@ -1402,10 +1347,6 @@ var enMetadataForms = {
1402
1347
  label: {
1403
1348
  label: "Label"
1404
1349
  },
1405
- parent: {
1406
- label: "Parent",
1407
- helpText: "Parent role machine name (Reports To)"
1408
- },
1409
1350
  description: {
1410
1351
  label: "Description"
1411
1352
  }
@@ -2961,67 +2902,12 @@ var zhCNMetadataForms = {
2961
2902
  }
2962
2903
  }
2963
2904
  },
2964
- profile: {
2965
- label: "\u914D\u7F6E\u6587\u4EF6",
2966
- sections: {
2967
- identity: {
2968
- label: "\u6807\u8BC6",
2969
- description: "\u6743\u9650\u96C6\u53E0\u52A0\u5728\u914D\u7F6E\u6587\u4EF6\u4E4B\u4E0A\u4EE5\u6388\u4E88\u989D\u5916\u7684\u8BBF\u95EE\u6743\u9650\u3002\u914D\u7F6E\u6587\u4EF6\u662F\u6309 1:1 \u5206\u914D\u7ED9\u6BCF\u4E2A\u7528\u6237\u7684\u57FA\u7840\u96C6\u5408\u3002"
2970
- },
2971
- system_permissions: {
2972
- label: "\u7CFB\u7EDF\u6743\u9650",
2973
- description: "\u4E0E\u7279\u5B9A\u5BF9\u8C61\u65E0\u5173\u7684\u9AD8\u7EA7\u80FD\u529B\u2014\u2014\u4F8B\u5982 manage_users\u3001view_audit_logs\u3002"
2974
- },
2975
- object_and_field_permissions: {
2976
- label: "\u5BF9\u8C61\u4E0E\u5B57\u6BB5\u6743\u9650",
2977
- description: "\u6309\u5BF9\u8C61\u7684\u589E\u5220\u6539\u67E5 + \u6309\u5B57\u6BB5\u7684\u5B57\u6BB5\u7EA7\u5B89\u5168\uFF08FLS\uFF09\u3002\u53EF\u901A\u8FC7\u77E9\u9635\u7F16\u8F91\u5668\u7F16\u8F91\uFF0C\u6216\u5728\u6B64\u5904\u7C98\u8D34 JSON\u3002"
2978
- },
2979
- tab_and_row_level_security: {
2980
- label: "\u6807\u7B7E\u9875\u4E0E\u884C\u7EA7\u5B89\u5168",
2981
- description: "\u6807\u7B7E\u9875\u53EF\u89C1\u6027\u3001RLS \u7B56\u7565\uFF0C\u4EE5\u53CA\u7528\u4E8E\u8C13\u8BCD\u6C42\u503C\u7684\u81EA\u5B9A\u4E49\u4E0A\u4E0B\u6587\u53D8\u91CF\u3002"
2982
- }
2983
- },
2984
- fields: {
2985
- name: {
2986
- label: "\u540D\u79F0",
2987
- helpText: "\u673A\u5668\u540D\uFF08snake_case\uFF09"
2988
- },
2989
- label: {
2990
- label: "\u663E\u793A\u540D\u79F0",
2991
- helpText: "\u9762\u5411\u7BA1\u7406\u5458\u663E\u793A\u7684\u6807\u7B7E"
2992
- },
2993
- systemPermissions: {
2994
- label: "\u7CFB\u7EDF\u6743\u9650",
2995
- helpText: "\u7CFB\u7EDF\u80FD\u529B\u952E\u5217\u8868"
2996
- },
2997
- objects: {
2998
- label: "\u5BF9\u8C61\u6743\u9650",
2999
- helpText: '\u793A\u4F8B\uFF1A{ "account": { allowRead: true, allowEdit: true, ... } }'
3000
- },
3001
- fields: {
3002
- label: "\u5B57\u6BB5",
3003
- helpText: '\u793A\u4F8B\uFF1A{ "account.amount": { readable: true, editable: false } }'
3004
- },
3005
- tabPermissions: {
3006
- label: "\u6807\u7B7E\u9875\u6743\u9650",
3007
- helpText: '\u793A\u4F8B\uFF1A{ "app_crm": "visible", "app_admin": "hidden" }'
3008
- },
3009
- rowLevelSecurity: {
3010
- label: "\u884C\u7EA7\u5B89\u5168",
3011
- helpText: "RLS \u7B56\u7565\u6570\u7EC4\uFF08\u53C2\u89C1 rls.zod.ts\uFF09"
3012
- },
3013
- contextVariables: {
3014
- label: "\u4E0A\u4E0B\u6587\u53D8\u91CF",
3015
- helpText: "RLS \u8C13\u8BCD\u4E2D\u5F15\u7528\u7684\u81EA\u5B9A\u4E49\u53D8\u91CF"
3016
- }
3017
- }
3018
- },
3019
- role: {
3020
- label: "\u89D2\u8272",
2905
+ position: {
2906
+ label: "\u5C97\u4F4D",
3021
2907
  sections: {
3022
- role: {
3023
- label: "\u89D2\u8272\u5B9A\u4E49",
3024
- description: "\u89D2\u8272\u540D\u79F0\u4E0E\u7EE7\u627F\u5173\u7CFB"
2908
+ position: {
2909
+ label: "\u5C97\u4F4D",
2910
+ description: "\u5C97\u4F4D\u662F\u6241\u5E73\u7684\u3001\u53EF\u5206\u914D\u7684\u6743\u9650\u96C6\u7EC4\u5408(\u5982 sales_rep\u3001sales_manager)\u3002\u80FD\u529B\u5728\u6743\u9650\u96C6\u4E0A;\u53EF\u89C1\u8303\u56F4\u6DF1\u5EA6\u5728\u4E1A\u52A1\u5355\u5143\u6811\u4E0A\u3002"
3025
2911
  }
3026
2912
  },
3027
2913
  fields: {
@@ -3032,10 +2918,6 @@ var zhCNMetadataForms = {
3032
2918
  label: {
3033
2919
  label: "\u663E\u793A\u540D\u79F0"
3034
2920
  },
3035
- parent: {
3036
- label: "\u7236\u7EA7",
3037
- helpText: "\u7EE7\u627F\u7236\u89D2\u8272\u7684\u6743\u9650"
3038
- },
3039
2921
  description: {
3040
2922
  label: "\u63CF\u8FF0"
3041
2923
  }
@@ -4591,67 +4473,12 @@ var jaJPMetadataForms = {
4591
4473
  }
4592
4474
  }
4593
4475
  },
4594
- profile: {
4595
- label: "\u30D7\u30ED\u30D5\u30A1\u30A4\u30EB",
4596
- sections: {
4597
- identity: {
4598
- label: "ID",
4599
- description: "\u6A29\u9650\u30BB\u30C3\u30C8\u306F\u30D7\u30ED\u30D5\u30A1\u30A4\u30EB\u306B\u8FFD\u52A0\u30A2\u30AF\u30BB\u30B9\u6A29\u3092\u91CD\u306D\u308B\u3002\u30D7\u30ED\u30D5\u30A1\u30A4\u30EB\u306F\u5404\u30E6\u30FC\u30B6\u30FC\u306B 1:1 \u3067\u5272\u308A\u5F53\u3066\u308B\u57FA\u672C\u30BB\u30C3\u30C8\u3002"
4600
- },
4601
- system_permissions: {
4602
- label: "\u30B7\u30B9\u30C6\u30E0\u6A29\u9650",
4603
- description: "\u7279\u5B9A\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u306B\u7D10\u3065\u304B\u306A\u3044\u9AD8\u30EC\u30D9\u30EB\u6A5F\u80FD \u2014 \u4F8B: manage_users, view_audit_logs\u3002"
4604
- },
4605
- object_and_field_permissions: {
4606
- label: "\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u3068\u30D5\u30A3\u30FC\u30EB\u30C9\u6A29\u9650",
4607
- description: "\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u5358\u4F4D\u306E CRUD + \u30D5\u30A3\u30FC\u30EB\u30C9\u5358\u4F4D\u306E FLS\u3002\u30DE\u30C8\u30EA\u30C3\u30AF\u30B9\u30A8\u30C7\u30A3\u30BF\u30FC\u3067\u7DE8\u96C6\u3001\u307E\u305F\u306F\u3053\u3053\u306B JSON \u3092\u8CBC\u308A\u4ED8\u3051\u3002"
4608
- },
4609
- tab_and_row_level_security: {
4610
- label: "\u30BF\u30D6\u3068\u884C\u30EC\u30D9\u30EB\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3",
4611
- description: "\u30BF\u30D6\u8868\u793A\u3001RLS \u30DD\u30EA\u30B7\u30FC\u3001\u8FF0\u8A9E\u8A55\u4FA1\u7528\u30AB\u30B9\u30BF\u30E0\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u5909\u6570\u3002"
4612
- }
4613
- },
4614
- fields: {
4615
- name: {
4616
- label: "\u540D\u524D",
4617
- helpText: "\u30DE\u30B7\u30F3\u540D\uFF08snake_case\uFF09"
4618
- },
4619
- label: {
4620
- label: "\u8868\u793A\u540D",
4621
- helpText: "\u7BA1\u7406\u8005\u5411\u3051\u8868\u793A\u30E9\u30D9\u30EB"
4622
- },
4623
- systemPermissions: {
4624
- label: "\u30B7\u30B9\u30C6\u30E0\u6A29\u9650",
4625
- helpText: "\u30B7\u30B9\u30C6\u30E0\u6A5F\u80FD\u30AD\u30FC\u306E\u30EA\u30B9\u30C8"
4626
- },
4627
- objects: {
4628
- label: "\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u6A29\u9650",
4629
- helpText: '\u4F8B: { "account": { allowRead: true, allowEdit: true, ... } }'
4630
- },
4631
- fields: {
4632
- label: "\u30D5\u30A3\u30FC\u30EB\u30C9",
4633
- helpText: '\u4F8B: { "account.amount": { readable: true, editable: false } }'
4634
- },
4635
- tabPermissions: {
4636
- label: "\u30BF\u30D6\u6A29\u9650",
4637
- helpText: '\u4F8B: { "app_crm": "visible", "app_admin": "hidden" }'
4638
- },
4639
- rowLevelSecurity: {
4640
- label: "\u884C\u30EC\u30D9\u30EB\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3",
4641
- helpText: "RLS \u30DD\u30EA\u30B7\u30FC\u306E\u914D\u5217\uFF08rls.zod.ts \u53C2\u7167\uFF09"
4642
- },
4643
- contextVariables: {
4644
- label: "\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u5909\u6570",
4645
- helpText: "RLS \u8FF0\u8A9E\u3067\u53C2\u7167\u3059\u308B\u30AB\u30B9\u30BF\u30E0\u5909\u6570"
4646
- }
4647
- }
4648
- },
4649
- role: {
4650
- label: "\u30ED\u30FC\u30EB",
4476
+ position: {
4477
+ label: "\u30DD\u30B8\u30B7\u30E7\u30F3",
4651
4478
  sections: {
4652
- role: {
4653
- label: "\u30ED\u30FC\u30EB",
4654
- description: "\u30ED\u30FC\u30EB\u306F\u30EC\u30B3\u30FC\u30C9\u5171\u6709\u306B\u4F7F\u3046\u968E\u5C64\u3092\u69CB\u6210\uFF08sales VP \u2192 sales mgr \u2192 sales rep\uFF09\u3002\u6A29\u9650\u81EA\u4F53\u306F Permission Sets \u3068 Profiles \u306B\u5B58\u5728\u3002"
4479
+ position: {
4480
+ label: "\u30DD\u30B8\u30B7\u30E7\u30F3",
4481
+ description: "\u30DD\u30B8\u30B7\u30E7\u30F3\u306F\u6A29\u9650\u30BB\u30C3\u30C8\u3092\u307E\u3068\u3081\u3066\u5272\u308A\u5F53\u3066\u308B\u30D5\u30E9\u30C3\u30C8\u306A\u5358\u4F4D(\u4F8B: sales_rep\u3001sales_manager)\u3002\u80FD\u529B\u306F\u6A29\u9650\u30BB\u30C3\u30C8\u306B\u3001\u53EF\u8996\u7BC4\u56F2\u306E\u6DF1\u3055\u306F\u30D3\u30B8\u30CD\u30B9\u30E6\u30CB\u30C3\u30C8\u30C4\u30EA\u30FC\u306B\u3042\u308A\u307E\u3059\u3002"
4655
4482
  }
4656
4483
  },
4657
4484
  fields: {
@@ -4662,10 +4489,6 @@ var jaJPMetadataForms = {
4662
4489
  label: {
4663
4490
  label: "\u8868\u793A\u540D"
4664
4491
  },
4665
- parent: {
4666
- label: "\u89AA",
4667
- helpText: "\u89AA\u30ED\u30FC\u30EB\u306E\u30DE\u30B7\u30F3\u540D\uFF08Reports To\uFF09"
4668
- },
4669
4492
  description: {
4670
4493
  label: "\u8AAC\u660E"
4671
4494
  }
@@ -6221,67 +6044,12 @@ var esESMetadataForms = {
6221
6044
  }
6222
6045
  }
6223
6046
  },
6224
- profile: {
6225
- label: "Perfil",
6226
- sections: {
6227
- identity: {
6228
- label: "Identidad",
6229
- description: "Los conjuntos de permisos se apilan sobre un perfil para conceder acceso adicional. Los perfiles son el conjunto base asignado 1:1 a cada usuario."
6230
- },
6231
- system_permissions: {
6232
- label: "Permisos del sistema",
6233
- description: "Capacidades de alto nivel no vinculadas a un objeto espec\xEDfico \u2014 p. ej. manage_users, view_audit_logs."
6234
- },
6235
- object_and_field_permissions: {
6236
- label: "Permisos de objeto y campo",
6237
- description: "CRUD por objeto + FLS por campo. Edita mediante el editor matricial o pega JSON aqu\xED."
6238
- },
6239
- tab_and_row_level_security: {
6240
- label: "Pesta\xF1a y seguridad a nivel de fila",
6241
- description: "Visibilidad de pesta\xF1as, pol\xEDticas RLS y variables de contexto personalizadas para evaluar predicados."
6242
- }
6243
- },
6244
- fields: {
6245
- name: {
6246
- label: "Nombre",
6247
- helpText: "Nombre de m\xE1quina (snake_case)"
6248
- },
6249
- label: {
6250
- label: "Etiqueta",
6251
- helpText: "Etiqueta mostrada para administradores"
6252
- },
6253
- systemPermissions: {
6254
- label: "Permisos del sistema",
6255
- helpText: "Lista de claves de capacidades del sistema"
6256
- },
6257
- objects: {
6258
- label: "Permisos de objeto",
6259
- helpText: 'Ejemplo: { "account": { allowRead: true, allowEdit: true, ... } }'
6260
- },
6261
- fields: {
6262
- label: "Campos",
6263
- helpText: 'Ejemplo: { "account.amount": { readable: true, editable: false } }'
6264
- },
6265
- tabPermissions: {
6266
- label: "Permisos de pesta\xF1a",
6267
- helpText: 'Ejemplo: { "app_crm": "visible", "app_admin": "hidden" }'
6268
- },
6269
- rowLevelSecurity: {
6270
- label: "Seguridad a nivel de fila",
6271
- helpText: "Array de pol\xEDticas RLS (ver rls.zod.ts)"
6272
- },
6273
- contextVariables: {
6274
- label: "Variables de contexto",
6275
- helpText: "Variables personalizadas referenciadas en predicados RLS"
6276
- }
6277
- }
6278
- },
6279
- role: {
6280
- label: "Rol",
6047
+ position: {
6048
+ label: "Posici\xF3n",
6281
6049
  sections: {
6282
- role: {
6283
- label: "Rol",
6284
- description: "Los roles componen una jerarqu\xEDa usada para compartir registros (sales VP \u2192 sales mgr \u2192 sales rep). Los permisos en s\xED residen en Permission Sets y Profiles."
6050
+ position: {
6051
+ label: "Posici\xF3n",
6052
+ description: "Una posici\xF3n es un conjunto plano y asignable de permission sets (p. ej. sales_rep, sales_manager). La capacidad reside en los permission sets; la profundidad de visibilidad en el \xE1rbol de unidades de negocio."
6285
6053
  }
6286
6054
  },
6287
6055
  fields: {
@@ -6292,10 +6060,6 @@ var esESMetadataForms = {
6292
6060
  label: {
6293
6061
  label: "Etiqueta"
6294
6062
  },
6295
- parent: {
6296
- label: "Padre",
6297
- helpText: "Nombre de m\xE1quina del rol padre (Reports To)"
6298
- },
6299
6063
  description: {
6300
6064
  label: "Descripci\xF3n"
6301
6065
  }