创建版本
This commit is contained in:
@@ -0,0 +1,138 @@
|
||||
<?php
|
||||
return [
|
||||
"name" => "组织架构",
|
||||
"version" => "1.0",
|
||||
"description" => "账户、职位、角色权限、部门管理。",
|
||||
"listens" => [
|
||||
'user' => 'Gdoo\User\Hooks\UserHook',
|
||||
'role' => 'Gdoo\User\Hooks\RoleHook',
|
||||
'department' => 'Gdoo\User\Hooks\DepartmentHook',
|
||||
],
|
||||
'dialogs' => [
|
||||
'department' => [
|
||||
'name' => '部门',
|
||||
'model' => 'Gdoo\User\Models\Department::Dialog',
|
||||
'url' => 'user/department/dialog',
|
||||
],
|
||||
'role' => [
|
||||
'name' => '角色',
|
||||
'model' => 'Gdoo\User\Models\Role::Dialog',
|
||||
'url' => 'user/role/dialog',
|
||||
],
|
||||
'position' => [
|
||||
'name' => '职位',
|
||||
'model' => 'Gdoo\User\Models\UserPosition::Dialog',
|
||||
'url' => 'user/position/dialog',
|
||||
],
|
||||
'user' => [
|
||||
'name' => '用户',
|
||||
'model' => 'Gdoo\User\Models\User::Dialog',
|
||||
'url' => 'user/user/dialog',
|
||||
],
|
||||
],
|
||||
"controllers" => [
|
||||
"user" => [
|
||||
"name" => "用户",
|
||||
"actions" => [
|
||||
"index" => [
|
||||
"name" => "列表"
|
||||
],
|
||||
"show" => [
|
||||
"name" => "查看"
|
||||
],
|
||||
"create" => [
|
||||
"name" => "新建"
|
||||
],
|
||||
"edit" => [
|
||||
"name" => "编辑"
|
||||
],
|
||||
"import" => [
|
||||
"name" => "导入"
|
||||
],
|
||||
"delete" => [
|
||||
"name" => "删除"
|
||||
],
|
||||
"secret" => [
|
||||
"name" => "密钥"
|
||||
]
|
||||
]
|
||||
],
|
||||
"department" => [
|
||||
"name" => "部门",
|
||||
"actions" => [
|
||||
"index" => [
|
||||
"name" => "列表"
|
||||
],
|
||||
"show" => [
|
||||
"name" => "查看"
|
||||
],
|
||||
"create" => [
|
||||
"name" => "新建"
|
||||
],
|
||||
"edit" => [
|
||||
"name" => "编辑"
|
||||
],
|
||||
"delete" => [
|
||||
"name" => "删除"
|
||||
],
|
||||
]
|
||||
],
|
||||
"role" => [
|
||||
"name" => "角色",
|
||||
"actions" => [
|
||||
"index" => [
|
||||
"name" => "列表"
|
||||
],
|
||||
"show" => [
|
||||
"name" => "查看"
|
||||
],
|
||||
"create" => [
|
||||
"name" => "新建"
|
||||
],
|
||||
"edit" => [
|
||||
"name" => "编辑"
|
||||
],
|
||||
"config" => [
|
||||
"name" => "控制器权限"
|
||||
],
|
||||
"delete" => [
|
||||
"name" => "删除"
|
||||
],
|
||||
]
|
||||
],
|
||||
"group" => [
|
||||
"name" => "用户组",
|
||||
"actions" => [
|
||||
"index" => [
|
||||
"name" => "列表"
|
||||
],
|
||||
"create" => [
|
||||
"name" => "新建"
|
||||
],
|
||||
"edit" => [
|
||||
"name" => "编辑"
|
||||
],
|
||||
"delete" => [
|
||||
"name" => "删除"
|
||||
]
|
||||
]
|
||||
],
|
||||
"position" => [
|
||||
"name" => "用户职位",
|
||||
"actions" => [
|
||||
"index" => [
|
||||
"name" => "列表"
|
||||
],
|
||||
"create" => [
|
||||
"name" => "新建"
|
||||
],
|
||||
"edit" => [
|
||||
"name" => "编辑"
|
||||
],
|
||||
"delete" => [
|
||||
"name" => "删除"
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
Reference in New Issue
Block a user