User story #17227
closedPrevent removal of 'system' global and group properties
Description
We want to provide a rudder
global (and perhaps for group) property with important default properties. Not having them would broke rudder. So we don't want an user to be able to change/delete them.
We propose to use the same `provider` system than for node properties, with the following new set of rules addapted to inheritance:
- for a given object (global, group, node), only the same provider can change an existing property appart if that provider is the default one in which case any provider can update the property and set themself as providier (ie: same rule as before, but for group and global in addition to node),
- provider don't change semantic of inheritance and overriding: a property with a provider different from default
can be overriden by any provider, and at each level, fully inherited properties (ie virtual one, which are not really on that object) get an "inherited" provider.
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 6.1.0~beta1 to 6.1.0~beta2
Updated by Vincent MEMBRÉ over 4 years ago
- Subject changed from Some defautl global and group properties should not be deletable to Prevent removal of 'system' global and group properties
Updated by Vincent MEMBRÉ over 4 years ago
- Related to User story #16347: Group properties added
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 6.1.0~beta2 to 6.1.0~beta3
Updated by François ARMAND over 4 years ago
- Status changed from New to In progress
Updated by François ARMAND over 4 years ago
Work in progess here: https://github.com/fanf/rudder/commit/96c6f5ecbdc30ffab633cb51d12c6419438b23fa
Updated by François ARMAND over 4 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/2953
Updated by François ARMAND over 4 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|4c7288b1dd53fc2cbad430ff456c141157065fe7.
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.1.0~beta3 which was released today.
Updated by François ARMAND over 4 years ago
- Fix check changed from To do to Checked
Updated by François ARMAND almost 4 years ago
- Related to Bug #18763: '5fd350e5 UNKNOWN attributeDescription "TARGETNAME" inserted' after migration to 6.2 added