Project

General

Profile

Actions

Bug #24285

closed

Empty role in users file is logged as warning

Added by Clark ANDRIANASOLO 9 months ago. Updated 9 months ago.

Status:
Released
Priority:
N/A
Category:
API
Target version:
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

Also available in: Atom PDF