PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 2.11.0
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v2.11.0
2.11.0 2.10.0 2.10.01 2.9.1 2.9.0 2.8.1 2.8.0 2.7.7 2.7.5 2.7.0 2.6.01 2.6.0 2.5.0 2.4.01 trunk 1.0.90 1.0.91 1.0.92 1.0.93 1.0.94 1.0.95 1.0.96 1.0.97 1.0.98 1.0.99 All 78 releases
← All changes | app/Http/Policies/SpacePolicy.php +13 -0 2.10.012.11.0 View file →
@@ -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 }