Project

General

Profile

Actions

Bug #25246

closed

Unauthorized access to API should not be logged as error

Added by Elaad FURREEDAN 4 months ago. Updated about 2 months ago.

Status:
Released
Priority:
N/A
Category:
API
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Effort required:
Very Small
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

When we don't have sufficient right to some endpoint, we get an error log :

2024-05-13 09:12:34+0200 ERROR api-processing - Authorization error for 'GET secure/api/user/api/token': User 'toto' is not allowed to access GET secure/api/user/api/token

We should not log an error for this, but rather a warning

Actions

Also available in: Atom PDF