Project

General

Profile

Actions

User story #8435

closed

System techniques sometime trust the webapp role definition sometime not

Added by Benoît PECCATTE almost 8 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
System techniques
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

- Role definition are in etc/server-roles.d
- Those files are sent via inventory to the webapp
- The webapp decides via its rudder.server-roles.* setting if it can trust those roles
- The webapp generate static classes in the &NODEROLE& variable

  • Some promises use those classes (from the webapp)
  • Some promises use classes defined in site.st by directly reading etc/server-roles.d

We should make sure that we have only one way to know those roles.


Related issues 1 (0 open1 closed)

Related to Rudder - Architecture #8463: Server roles is a BIG mess causing inconsistencies and bugsRejectedActions
Actions

Also available in: Atom PDF