|
23 | 23 | 'plugin' => 'BaserCore', |
24 | 24 | 'type' => 'Admin', |
25 | 25 | 'items' => [ |
26 | | - 'Edit' => ['title' => __d('baser_core', '編集'), 'url' => '/baser/admin/baser-core/content_folders/edit/*', 'method' => 'POST', 'auth' => false] |
| 26 | + 'Edit' => ['title' => __d('baser_core', '編集'), 'url' => '/baser/admin/baser-core/content_folders/edit/*', 'method' => 'POST', 'auth' => true] |
27 | 27 | ] |
28 | 28 | ], |
29 | 29 |
|
|
33 | 33 | 'type' => 'Admin', |
34 | 34 | 'items' => [ |
35 | 35 | 'Index' => ['title' => __d('baser_core', '一覧'), 'url' => '/baser/admin/baser-core/contents/index', 'method' => '*', 'auth' => true], |
| 36 | + 'Add' => ['title' => __d('baser_core', '登録'), 'url' => '/baser/admin/baser-core/contents/add', 'method' => '*', 'auth' => true], |
| 37 | + 'Delete' => ['title' => __d('baser_core', '削除'), 'url' => '/baser/admin/baser-core/contents/delete', 'method' => '*', 'auth' => true], |
36 | 38 | 'Edit' => ['title' => __d('baser_core', 'ゴミ箱'), 'url' => '/baser/admin/baser-core/contents/trash_index', 'method' => 'GET', 'auth' => true], |
37 | 39 | 'EditAlias' => ['title' => __d('baser_core', 'エイリアス編集'), 'url' => '/baser/admin/baser-core/contents/edit_alias/*', 'method' => 'POST', 'auth' => true], |
38 | | - 'Delete' => ['title' => __d('baser_core', 'ゴミ箱から戻す'), 'method' => 'POST', 'url' => '/baser/admin/baser-core/contents/trash_return/*', 'auth' => true], |
| 40 | + 'TrashReturn' => ['title' => __d('baser_core', 'ゴミ箱から戻す'), 'method' => 'POST', 'url' => '/baser/admin/baser-core/contents/trash_return/*', 'auth' => true], |
39 | 41 | ] |
40 | 42 | ], |
41 | 43 |
|
|
186 | 188 | 'items' => [ |
187 | 189 | 'Index' => ['title' => __d('baser_core', '一覧取得'), 'url' => '/baser/api/admin/baser-core/content_folders/index.json', 'method' => '*', 'auth' => true], |
188 | 190 | 'View' => ['title' => __d('baser_core', '単一取得'), 'url' => '/baser/api/admin/baser-core/content_folders/view/*.json', 'method' => '*', 'auth' => true], |
189 | | - 'Add' => ['title' => __d('baser_core', '新規登録'), 'url' => '/baser/api/admin/baser-core/content_folders/add.json', 'method' => 'POST', 'auth' => false], |
| 191 | + 'Add' => ['title' => __d('baser_core', '新規登録'), 'url' => '/baser/api/admin/baser-core/content_folders/add.json', 'method' => 'POST', 'auth' => true], |
190 | 192 | 'Edit' => ['title' => __d('baser_core', '編集'), 'url' => '/baser/api/admin/baser-core/content_folders/edit/*.json', 'method' => 'POST', 'auth' => false], |
191 | 193 | 'Delete' => ['title' => __d('baser_core', '削除'), 'url' => '/baser/api/admin/baser-core/content_folders/delete/*.json', 'method' => 'POST', 'auth' => false] |
192 | 194 | ] |
|
0 commit comments