+ Add an access control field.

This commit is contained in:
tianshujie
2024-01-15 16:37:05 +08:00
parent 9bbd4ba639
commit 4f53609ecd
+5
View File
@@ -44,3 +44,8 @@ $fields->field('RD')
$fields->field('desc')
->width('full')
->control('editor');
$fields->field('acl')
->foldable()
->width('full')
->control(array('type' => 'aclBox', 'aclItems' => data('fields.acl.options'), 'whitelistLabel' => $lang->product->whitelist, 'groupLabel' => $lang->product->groups, 'groupItems' => data('fields.groups.options'), 'userLabel' => $lang->product->users, 'userItems' => data('fields.whitelist.options')));