Project

General

Profile

Actions

Bug #28948

closed

Group page is empty with group_read permission with nodes in tenants

Bug #28948: Group page is empty with group_read permission with nodes in tenants

Added by Elaad FURREEDAN 5 months ago. Updated 5 months ago.

Status:
Released
Priority:
0 (blocking)
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

How to reproduce

Tested on 9.1.2~git202606020118

  • Choose a group where you want to target nodes by a tenant, all of his nodes should be added in a tenant later
  • Create a user "toto" with permission group_read,node_read in /opt/rudder/etc/rudder-user.xml (the node_read permission is added due to https://issues.rudder.io/issues/28947)
  • Create a tenant Administration -> Tenants
  • Follow the documentation on the Tenants page to add all the nodes in the tenant through API
  • Follow the documentation on the Tenants page to add tenants to the user previously created
  • => Unable to check any group when loggin with user "toto"

Details of the group:

{
    "action": "groupDetails",
    "id": "58468fea-a9c8-4e27-8092-74e25328ae8b",
    "result": "success",
    "data": {
        "groups": [
            {
                "id": "58468fea-a9c8-4e27-8092-74e25328ae8b",
                "displayName": "CIS Windows 2022",
                "description": "",
                "categoryId": "dbfb4d82-1a14-409e-88a4-f0ea1366b4f2",
                "query": {
                    "select": "node",
                    "composition": "and",
                    "where": [
                        {
                            "objectType": "node",
                            "attribute": "osFullName",
                            "comparator": "regex",
                            "value": "Microsoft Windows Server 2022.*" 
                        }
                    ]
                },
                "nodeIds": [
                    "d1f33a9d-8d94-47b5-86f2-784bd367fa79" 
                ],
                "dynamic": true,
                "enabled": true,
                "groupClass": [
                    "group_58468fea_a9c8_4e27_8092_74e25328ae8b",
                    "group_cis_windows_2022" 
                ],
                "properties": [],
                "target": "group:58468fea-a9c8-4e27-8092-74e25328ae8b",
                "system": false
            }
        ]
    }
}

Workaround

Unknown for the moment


Files

clipboard-202606021100-jok2s.png (145 KB) clipboard-202606021100-jok2s.png Elaad FURREEDAN, 2026-06-02 11:00
clipboard-202606021107-jgohv.png (192 KB) clipboard-202606021107-jgohv.png Elaad FURREEDAN, 2026-06-02 11:07
clipboard-202606051054-iwbbx.png (342 KB) clipboard-202606051054-iwbbx.png Clark ANDRIANASOLO, 2026-06-05 10:54
clipboard-202606021100-jok2s.png
clipboard-202606021107-jgohv.png
clipboard-202606051054-iwbbx.png

Related issues 1 (0 open — 1 closed)

Related to Rudder - Architecture #28035: Add tenant information to configuration objectsReleasedFrançois ARMANDActions

Updated by Elaad FURREEDAN 5 months ago Actions #2

clipboard-202606021107-jgohv.png

I can check the node targeted (Windows 2022)

Updated by Clark ANDRIANASOLO 5 months ago Actions #3

Updated by Elaad FURREEDAN 5 months ago Actions #4

  • Subject changed from Group page is empty with group_read permission and node access to Group page is empty with group_read permission with nodes in tenants

Updated by Nicolas CHARLES 5 months ago Actions #5

  • Assignee set to François ARMAND
  • Priority changed from To review to 0 (blocking)
A user upgrading from 9.0 to 9.1 will be extremly surprised to loose it's groups
As a result:
  • this feature will be disabled in 9.1: no tenants on group
  • is will be reenabled in 9.2

All migration and release notes will be in 9.2

Updated by François ARMAND 5 months ago Actions #6

  • Status changed from New to In progress

Updated by François ARMAND 5 months ago Actions #7

  • Project changed from 94 to Rudder
  • Target version deleted (9.1)

Updated by François ARMAND 5 months ago Actions #8

  • Target version set to 9.1.2

Updated by François ARMAND 5 months ago Actions #9

  • 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/7174

Updated by Anonymous 5 months ago Actions #10

  • Status changed from Pending technical review to Pending release

Updated by Clark ANDRIANASOLO 5 months ago Actions #11

clipboard-202606051054-iwbbx.png

With a tenant that can see agent1, I now have access to all groups, and only agent1 listed in them, as expected !

Updated by Vincent MEMBRÉ 5 months ago Actions #12

  • Status changed from Pending release to Released

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

Actions

Also available in: PDF Atom