mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix read group on scope
This commit is contained in:
parent
8e95166c24
commit
2f9c7c38b5
@ -76,7 +76,7 @@ class AccompanyingCourseApiController extends ApiController
|
|||||||
|
|
||||||
public function scopeApi($id, Request $request, string $_format): Response
|
public function scopeApi($id, Request $request, string $_format): Response
|
||||||
{
|
{
|
||||||
return $this->addRemoveSomething('scope', $id, $request, $_format, 'scope', Scope::class);
|
return $this->addRemoveSomething('scope', $id, $request, $_format, 'scope', Scope::class, [ 'groups' => [ 'read' ] ]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function commentApi($id, Request $request, string $_format): Response
|
public function commentApi($id, Request $request, string $_format): Response
|
||||||
|
Loading…
x
Reference in New Issue
Block a user