Initial Ladill Merchant app with Gitea deploy pipeline.

Shop, menu, and booking storefronts with OIDC SSO, Pay checkout, and merchant.ladill.com deployment workflow.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-09 23:05:21 +00:00
co-authored by Cursor
commit f718b9cfbf
311 changed files with 38972 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
<?php
namespace App\Policies;
use App\Models\QrCode;
use App\Models\User;
class QrCodePolicy
{
public function view(User $user, QrCode $qrCode): bool
{
return $user->canAccessAccount($qrCode->user_id);
}
public function update(User $user, QrCode $qrCode): bool
{
return $user->canAccessAccount($qrCode->user_id);
}
public function delete(User $user, QrCode $qrCode): bool
{
return $user->canAccessAccount($qrCode->user_id);
}
}