Restore previous stuff

This commit is contained in:
James Cole
2024-05-10 12:51:02 +02:00
parent aa5c4c20e9
commit c6c8f282e2
9 changed files with 96 additions and 20 deletions

View File

@@ -51,4 +51,19 @@ class AccountPolicy
{
return auth()->check();
}
/**
* Everybody can do this, but selection should limit to user.
*
* @return true
*/
public function viewUser(User $user, Account $account): bool
{
return $this->view($user, $account);
}
public function viewBalances(User $user, Account $account): bool
{
return $this->view($user, $account);
}
}