Project

General

Custom queries

Profile

Actions

Bug #24285

closed

Empty role in users file is logged as warning

Added by Clark ANDRIANASOLO over 1 year ago. Updated over 1 year 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.

#1

Updated by Clark ANDRIANASOLO over 1 year ago

  • Status changed from New to In progress
#2

Updated by Clark ANDRIANASOLO over 1 year 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
#3

Updated by Clark ANDRIANASOLO over 1 year ago

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

Updated by Vincent MEMBRÉ over 1 year ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF