Project

General

Profile

Actions

Bug #24285

closed

Empty role in users file is logged as warning

Added by Clark ANDRIANASOLO 2 months ago. Updated about 2 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 #1

Updated by Clark ANDRIANASOLO 2 months ago

  • Status changed from New to In progress
Actions #2

Updated by Clark ANDRIANASOLO 2 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Clark ANDRIANASOLO to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/5415
Actions #3

Updated by Clark ANDRIANASOLO 2 months ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Vincent MEMBRÉ about 2 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.3.13 which was released today.

Actions

Also available in: Atom PDF