| @@ -73,8 +73,21 @@ | ||
| 73 | 73 | { |
| 74 | 74 | return $this->canManageCommunity($request, Space::where('slug', $slug)->first()); |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | + /** | |
| 78 | + * The manager listing exposes disabled and hidden rows, so it is not a plain portal read. | |
| 79 | + */ | |
| 80 | + public function getPrimaryMenu(Request $request, $slug) | |
| 81 | + { | |
| 82 | + return $this->canManageCommunity($request, Space::where('slug', $slug)->first()); | |
| 83 | + } | |
| 84 | + | |
| 85 | + public function updatePrimaryMenu(Request $request, $slug) | |
| 86 | + { | |
| 87 | + return $this->canManageCommunity($request, Space::where('slug', $slug)->first()); | |
| 88 | + } | |
| 89 | + | |
| 77 | 90 | public function deleteBySlug(Request $request, $slug) |
| 78 | 91 | { |
| 79 | 92 | return $this->canManageCommunity($request, Space::where('slug', $slug)->first()); |
| 80 | 93 | } |