Project

General

Profile

Bug #10301

Remove "rights" in node property

Added by François ARMAND 7 months ago. Updated 7 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Target version (plugin):
Severity:
User visibility:
Effort required:
Priority:
Tags: Blocking 4.1

Description

For now, we don't really know what "rights" mean for node properties. Is it permissions? Is it some kind of ownership? Something else?
This is mostly due to the fact that we don't have real permissions at that granylarity for now in Rudder, and that we have only two cases for node properties: provider defauls => "the user or datasources plugin can change it", "provider datasource => only datasources plugin can change it".

So, for now, we propose the following enhancement: only add the "provider" property, and add that restriction: "when provider is defined and not equals to "defauls", the node property is only updatable by the provider of the defined kind". That captures pretty well the constraint we want to define without frozing any other dimension. It will be easier to latter add a real permession management on top of that.


Subtasks

Bug #10308: Remove rights in datasources pluginReleasedVincent MEMBRÉ

Bug #10316: Missing import deletion about rights, breaks compilationReleasedVincent MEMBRÉ

Associated revisions

Revision 462fac51
Added by François ARMAND 7 months ago

Fixes #10301: Remove \"rights\" in node property

History

#1 Updated by François ARMAND 7 months ago

  • Tags set to Blocking 4.1

#2 Updated by François ARMAND 7 months 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/1538

#3 Updated by François ARMAND 7 months ago

  • Status changed from Pending technical review to Pending release

#4 Updated by Vincent MEMBRÉ 7 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.0~rc1 which was released today.

Also available in: Atom PDF