Actions
Bug #28948
closedGroup 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
Pull Request:
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_readin/opt/rudder/etc/rudder-user.xml(thenode_readpermission 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
Updated by Elaad FURREEDAN 5 months ago
I can check the node targeted (Windows 2022)
Updated by Clark ANDRIANASOLO 5 months ago
- Related to Architecture #28035: Add tenant information to configuration objects added
Updated by Elaad FURREEDAN 5 months ago
- 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
- 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:
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
- Status changed from New to In progress
Updated by François ARMAND 5 months ago
- Project changed from 94 to Rudder
- Target version deleted (
9.1)
Updated by François ARMAND 5 months ago
- Target version set to 9.1.2
Updated by François ARMAND 5 months 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/7174
Updated by Anonymous 5 months ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|f3371dbc6dbf674ac8a0a6de2fda45d29841afd1.
Updated by Clark ANDRIANASOLO 5 months ago
- File clipboard-202606051054-iwbbx.png clipboard-202606051054-iwbbx.png added
- Fix check changed from To do to Checked
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
- Status changed from Pending release to Released
This bug has been fixed in Rudder 9.1.2 which was released today.
Actions