@objectstack/platform-objects 14.8.0 → 15.0.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.
- package/dist/index.js +77 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +77 -0
- package/dist/index.mjs.map +1 -1
- package/dist/pages/index.js +77 -0
- package/dist/pages/index.js.map +1 -1
- package/dist/pages/index.mjs +77 -0
- package/dist/pages/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -16679,6 +16679,83 @@ var SysUserDetailPage = {
|
|
|
16679
16679
|
}
|
|
16680
16680
|
]
|
|
16681
16681
|
},
|
|
16682
|
+
{
|
|
16683
|
+
// [ADR-0091 D1] Direct permission-set grants (直接授权) — pure SDUI.
|
|
16684
|
+
// sys_user_permission_set is an ordinary id-keyed junction:
|
|
16685
|
+
// user_id / permission_set_id are lookups keyed by record id, so
|
|
16686
|
+
// the list keys on `relationshipField: 'user_id'` (no
|
|
16687
|
+
// relationshipValueField). The Add picker binds a permission set by
|
|
16688
|
+
// its id (linkField: 'permission_set_id'); server-side gates
|
|
16689
|
+
// (audience-anchor D5/D9, delegated-admin D12) surface their denial
|
|
16690
|
+
// reason in the Add dialog.
|
|
16691
|
+
label: { en: "Permission Sets", "zh-CN": "\u6743\u9650\u96C6", "ja-JP": "\u6A29\u9650\u30BB\u30C3\u30C8", "es-ES": "Conjuntos de permisos" },
|
|
16692
|
+
icon: "lock",
|
|
16693
|
+
children: [
|
|
16694
|
+
{
|
|
16695
|
+
type: "record:related_list",
|
|
16696
|
+
properties: {
|
|
16697
|
+
objectName: "sys_user_permission_set",
|
|
16698
|
+
relationshipField: "user_id",
|
|
16699
|
+
columns: ["permission_set_id", "organization_id", "granted_by", "created_at"],
|
|
16700
|
+
sort: [{ field: "created_at", order: "desc" }],
|
|
16701
|
+
limit: 25,
|
|
16702
|
+
showViewAll: true,
|
|
16703
|
+
title: { en: "Permission Sets", "zh-CN": "\u6743\u9650\u96C6", "ja-JP": "\u6A29\u9650\u30BB\u30C3\u30C8", "es-ES": "Conjuntos de permisos" },
|
|
16704
|
+
add: {
|
|
16705
|
+
picker: {
|
|
16706
|
+
object: "sys_permission_set",
|
|
16707
|
+
labelField: "label"
|
|
16708
|
+
},
|
|
16709
|
+
linkField: "permission_set_id",
|
|
16710
|
+
label: {
|
|
16711
|
+
en: "Grant permission set",
|
|
16712
|
+
"zh-CN": "\u6388\u4E88\u6743\u9650\u96C6",
|
|
16713
|
+
"ja-JP": "\u6A29\u9650\u30BB\u30C3\u30C8\u3092\u4ED8\u4E0E",
|
|
16714
|
+
"es-ES": "Otorgar conjunto de permisos"
|
|
16715
|
+
}
|
|
16716
|
+
}
|
|
16717
|
+
}
|
|
16718
|
+
}
|
|
16719
|
+
]
|
|
16720
|
+
},
|
|
16721
|
+
{
|
|
16722
|
+
// Business-unit membership (业务单元归属) — pure SDUI.
|
|
16723
|
+
// sys_business_unit_member is an id-keyed junction: user_id /
|
|
16724
|
+
// business_unit_id are lookups keyed by record id, so the list keys
|
|
16725
|
+
// on `relationshipField: 'user_id'` (no relationshipValueField).
|
|
16726
|
+
// The Add picker binds a BU by its id (linkField: 'business_unit_id');
|
|
16727
|
+
// sys_business_unit has no `label` field so the picker labels rows by
|
|
16728
|
+
// its display field `name`.
|
|
16729
|
+
label: { en: "Business Units", "zh-CN": "\u4E1A\u52A1\u5355\u5143", "ja-JP": "\u30D3\u30B8\u30CD\u30B9\u30E6\u30CB\u30C3\u30C8", "es-ES": "Unidades de negocio" },
|
|
16730
|
+
icon: "network",
|
|
16731
|
+
children: [
|
|
16732
|
+
{
|
|
16733
|
+
type: "record:related_list",
|
|
16734
|
+
properties: {
|
|
16735
|
+
objectName: "sys_business_unit_member",
|
|
16736
|
+
relationshipField: "user_id",
|
|
16737
|
+
columns: ["business_unit_id", "function_in_business_unit", "is_primary", "created_at"],
|
|
16738
|
+
sort: [{ field: "created_at", order: "desc" }],
|
|
16739
|
+
limit: 25,
|
|
16740
|
+
showViewAll: true,
|
|
16741
|
+
title: { en: "Business Units", "zh-CN": "\u4E1A\u52A1\u5355\u5143", "ja-JP": "\u30D3\u30B8\u30CD\u30B9\u30E6\u30CB\u30C3\u30C8", "es-ES": "Unidades de negocio" },
|
|
16742
|
+
add: {
|
|
16743
|
+
picker: {
|
|
16744
|
+
object: "sys_business_unit",
|
|
16745
|
+
labelField: "name"
|
|
16746
|
+
},
|
|
16747
|
+
linkField: "business_unit_id",
|
|
16748
|
+
label: {
|
|
16749
|
+
en: "Add to business unit",
|
|
16750
|
+
"zh-CN": "\u52A0\u5165\u4E1A\u52A1\u5355\u5143",
|
|
16751
|
+
"ja-JP": "\u30D3\u30B8\u30CD\u30B9\u30E6\u30CB\u30C3\u30C8\u306B\u8FFD\u52A0",
|
|
16752
|
+
"es-ES": "A\xF1adir a unidad de negocio"
|
|
16753
|
+
}
|
|
16754
|
+
}
|
|
16755
|
+
}
|
|
16756
|
+
}
|
|
16757
|
+
]
|
|
16758
|
+
},
|
|
16682
16759
|
{
|
|
16683
16760
|
label: { en: "Sessions", "zh-CN": "\u4F1A\u8BDD", "ja-JP": "\u30BB\u30C3\u30B7\u30E7\u30F3", "es-ES": "Sesiones" },
|
|
16684
16761
|
icon: "monitor",
|