Skip to content

Firefly III: a personal finances manager

🤖 Auto commit for release 'develop' on 2026-03-21

JC583662415c3db
diff --git a/app/Http/Middleware/IsAdminApi.php b/app/Http/Middleware/IsAdminApi.php
index 11816770dd..5b7c422feb 100644
--- a/app/Http/Middleware/IsAdminApi.php
+++ b/app/Http/Middleware/IsAdminApi.php
@@ -42,6 +42,7 @@ class IsAdminApi
* @param null|string $guard
*
* @return mixed
+ *
* @throws AuthorizationException
*/
public function handle(Request $request, Closure $next, $guard = null)
@@ -55,12 +56,13 @@ class IsAdminApi
}
/** @var User $user */
- $user = auth()->user();
+ $user = auth()->user();
/** @var UserRepositoryInterface $repository */
$repository = app(UserRepositoryInterface::class);
if (!$repository->hasRole($user, 'owner')) {
Log::error(sprintf('Cannot access %s?%s.', $request->url(), $request->getQueryString()));
+
throw new AuthorizationException();
}
diff --git a/config/firefly.php b/config/firefly.php
index 6f033e3b2d..28171839b4 100644
--- a/config/firefly.php
+++ b/config/firefly.php
@@ -79,7 +79,7 @@ return [
// see cer.php for exchange rates feature flag.
],
'version' => 'develop/2026-03-21',
- 'build_time' => 1774102650,
+ 'build_time' => 1774107027,
'api_version' => '2.1.0', // field is no longer used.
'db_version' => 28, // field is no longer used.
diff --git a/package-lock.json b/package-lock.json
index 4d7ba9f6a2..06e036e399 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -7143,9 +7143,9 @@
}
},
"node_modules/i18next": {
- "version": "25.10.0",
- "resolved": "https://registry.npmjs.org/i18next/-/i18next-25.10.0.tgz",
- "integrity": "sha512-syBEN80PJ3MOpczGXFtv6OTfKQzgi/VbvgtQQjr1z5b/0xSGa1iG8n5ESG7TVT5scGbbRr/1Du2tufHEkr5pHw==",
+ "version": "25.10.1",
+ "resolved": "https://registry.npmjs.org/i18next/-/i18next-25.10.1.tgz",
+ "integrity": "sha512-d7MZx1UDamSmjbaqFg00w+EXUTqIB8x8cmYRGsAzQqXFVyrNFprGqPItANtlF6V1tuBFyZyp+4/q2MFqODWerg==",
"funding": [
{
"type": "individual",
@@ -7162,7 +7162,7 @@
],
"license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.28.6"
+ "@babel/runtime": "^7.29.2"
},
"peerDependencies": {
"typescript": "^5"
diff --git a/routes/api.php b/routes/api.php
index a807965747..408fdbea9f 100644
--- a/routes/api.php
+++ b/routes/api.php
@@ -346,7 +346,7 @@ Route::group(
[
'namespace' => 'FireflyIII\Api\V1\Controllers\Models\UserGroup',
'prefix' => 'v1/user-groups',
- 'as' => 'api.v1.user-groups.'
+ 'as' => 'api.v1.user-groups.',
],
static function (): void {
Route::get('', ['uses' => 'IndexController@index', 'as' => 'index']);