Project

General

Profile

Actions

Bug #18952

closed

Static group which depends on dynamic subgroup must be forbiden

Added by François ARMAND about 3 years ago. Updated about 2 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Error - Fixed
Regression:
No

Description

We need to ensure consistency on a group and its subgroup.

Consistency seems to be: a group with subgroup query and that group MUST BE dynamic, other cases seems to be ok:

- dyn parent / dyn subgroup => OK
- dyn parent / static subgroup => OK (subgroup just never change, or if it change with a new save, parent is computed again)
- static parent / static subgroup => actually, perhaps not good, because if a subgroup is changed, parent won't be recalculated (which would mean that actually, the parent group will be dynamic)
- static parent / dyn subgroup => breaks.

The idea is to forbid saving group as static with subgroup with a helpful message + have an other check during policy generation (and breaks ?)


Files


Subtasks 1 (0 open1 closed)

Bug #24086: You can create a static group which depends on a dynamic oneReleasedClark ANDRIANASOLOActions

Related issues 1 (1 open0 closed)

Related to Rudder - Bug #18942: Non understandable policy generation error with dependant groups when a static depends on a dynamic and are out of syncNewActions
Actions

Also available in: Atom PDF