Project

General

Profile

Actions

Bug #26952

open

User with only  “Inventory” rights has a notification error when changing tab

Added by Michel BOUISSOU about 2 months ago. Updated 3 days ago.

Status:
Pending release
Priority:
1 (highest)
Category:
Web - UI & UX
Target version:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
UX impact:
I hate Rudder for that
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

A ˘toto" user, created with only “Inventory” rights can access a lot more :

- System updates
- Nodes properties
- Node technical logs (that may show sensitive information)

Plus clicking on many tabs produce an error message :

Error
Error when Getting node compliance, details:
Unknown error

Even though some content gets displayed


Files

User_toto_250522a.png (49.6 KB) User_toto_250522a.png Toto only has inventory rights Michel BOUISSOU, 2025-05-23 16:55
User_inventory_access_250522a_updates.png (211 KB) User_inventory_access_250522a_updates.png Toto can see system updates Michel BOUISSOU, 2025-05-23 16:56
User_inventory_access_250522b_properties.png (189 KB) User_inventory_access_250522b_properties.png Toto can see nodes properties Michel BOUISSOU, 2025-05-23 16:56
User_inventory_access_250522c_tech_logs.png (263 KB) User_inventory_access_250522c_tech_logs.png Toto can see technical logs Michel BOUISSOU, 2025-05-23 16:56
User_inventory_access_250522d_error.png (8.2 KB) User_inventory_access_250522d_error.png Error message often displayed Michel BOUISSOU, 2025-05-23 16:56
clipboard-202506051548-ddp9w.png (96 KB) clipboard-202506051548-ddp9w.png Clark ANDRIANASOLO, 2025-06-05 15:48
clipboard-202506051548-7hy8k.png (96 KB) clipboard-202506051548-7hy8k.png Clark ANDRIANASOLO, 2025-06-05 15:48

Related issues 1 (1 open0 closed)

Related to Rudder - Bug #27040: Inventory role allows to get system status logs and technical logs Pending releaseClark ANDRIANASOLOActions
Actions #1

Updated by Vincent MEMBRÉ about 1 month ago

  • Target version changed from 8.3.2 to 8.3.3
Actions #2

Updated by François ARMAND about 1 month ago

  • Assignee set to Clark ANDRIANASOLO
  • Priority changed from To review to 1 (highest)
  • Severity changed from Major - prevents use of part of Rudder | no simple workaround to Critical - prevents main use of Rudder | no workaround | data loss | security

It's OK that inventory role gives access to node information, so OK for list of package (system update) and node properties.
It should not give access to technical logs thought.
Plus correcting the access errors.

Actions #3

Updated by Clark ANDRIANASOLO about 1 month ago

  • Related to Bug #27040: Inventory role allows to get system status logs and technical logs added
Actions #4

Updated by Clark ANDRIANASOLO about 1 month ago

  • Status changed from New to In progress
Actions #5

Updated by Clark ANDRIANASOLO about 1 month ago

  • Status changed from In progress to Pending technical review
  • Pull Request set to https://github.com/Normation/rudder/pull/6431

Updated by Clark ANDRIANASOLO about 1 month ago

Contrary to 8.2, the 8.3 disallows the inventory user to get the system compliance (and the compliance is attempted to be fetched on every tab change) :

The main problem is #27040 in 8.2, and the fix for this one in 8.3 should only be about the access

Actions #7

Updated by Clark ANDRIANASOLO about 1 month ago

  • Status changed from New to In progress
Actions #8

Updated by Clark ANDRIANASOLO about 1 month ago

  • Status changed from In progress to Pending technical review
  • Pull Request set to https://github.com/Normation/rudder/pull/6433
Actions #9

Updated by Clark ANDRIANASOLO about 1 month ago

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

Updated by Raphael GAUTHIER 3 days ago

  • Fix check changed from To do to Checked
Actions

Also available in: Atom PDF