Actions
Bug #24285
closedEmpty role in users file is logged as warning
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
With comma-separated roles (e.g. read_only,inventory,,custom-role
) defined in the Rudder users.xml
file, we split the string and we end up with an warning log :
[2024-02-14 18:24:32+0100] WARN application.authorization - Inconsistency: Role '' can not be resolved to a named role nor it matches a valid authorization
We do not want the warning as it is misleading when reading it. The behavior remains the same even with two consecutive commas and users can live with this.
Actions