mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
add account balances with some random data
This commit is contained in:
@@ -43,6 +43,8 @@ class AccountPolicy
|
||||
return auth()->check() && $user->id === $account->user_id;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Everybody can do this, but selection should limit to user.
|
||||
*
|
||||
@@ -64,7 +66,7 @@ class AccountPolicy
|
||||
return $this->view($user, $account);
|
||||
}
|
||||
|
||||
public function viewBalances(User $user, Account $account): bool
|
||||
public function viewAccountBalances(User $user, Account $account): bool
|
||||
{
|
||||
return $this->view($user, $account);
|
||||
}
|
||||
|
Reference in New Issue
Block a user