Add final API changes

This commit is contained in:
James Cole
2024-05-19 10:17:21 +02:00
parent 6d143f1624
commit c96226b9b4
7 changed files with 370 additions and 201 deletions

View File

@@ -38,6 +38,11 @@ use Illuminate\Support\Facades\Log;
trait ValidatesUserGroupTrait
{
/**
* An "undocumented" filter
*
*
* TODO add this filter to the API docs.
*
* @throws AuthorizationException
* @throws AuthenticationException
*/
@@ -50,6 +55,11 @@ trait ValidatesUserGroupTrait
throw new AuthenticationException();
}
/** @var User $user */
$user = auth()->user();
$groupId = 0;