Project

General

Profile

Actions

Bug #25003

closed

User with node_all permission can't modify node policy mode

Added by Maxime Mérian about 1 month ago. Updated 14 days ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

Rudder version : 8.1.4~git202406112319-debian11

When a user is declared as

<user role="node_all,read_only" password="LDAP" name="johndoe"/>

or
<user role="node_all" password="LDAP" name="johndoe"/>

in /opt/rudder/etc/rudder-users.xml, he doesn't have permission to change a node policy mode.

In Rudder 7.3, this was possible. After checking the 8.3 documentation, I didn't find any change in the permissions system that could explain this.

Regards,

Actions #1

Updated by François ARMAND about 1 month ago

  • Target version set to 8.1.4
  • Severity set to Minor - inconvenience | misleading | easy workaround

Can confirm the problem.
The check is done on node_write, so node_all should provide it, so clearly a bug.

Actions #2

Updated by François ARMAND about 1 month ago

  • Target version changed from 8.1.4 to 8.0.10

OK, seems to be here since 8.0 actually

Actions #3

Updated by François ARMAND about 1 month ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #4

Updated by François ARMAND about 1 month ago

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

Updated by Maxime Mérian about 1 month ago

In our version, seems like a user vith node_read,node_write,read_only permissions can't change a node policy mode.
If I understand what François said, it should be the case

Actions #6

Updated by Anonymous about 1 month ago

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

Updated by Clark ANDRIANASOLO 29 days ago

  • Fix check changed from To do to Checked
Actions #9

Updated by Vincent MEMBRÉ 14 days ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 8.0.10 and 8.1.5 which were released today.

Actions

Also available in: Atom PDF