Actions
User story #22206
closedAllow user to define custom roles in rudder-user.xml
Status:
Released
Priority:
N/A
Assignee:
Category:
System integration
Target version:
Effort required:
Name check:
To do
Fix check:
To do
Regression:
No
Description
The idea is to be able to have new roles defined from system roles (atomic permissions or plugin roles).
The general (that will be documented at the end of the implementation) would looks like:
<authentications> <custom-roles> <role name="role_a0" roles="node_read,node_write,configuration" /> <!-- node_read,node_write,config_*,parameter_*,technique_*,directive_*,rule_* --> <role name="role_a1" roles="role_a0" /> <!-- node_read,node_write,config_*,parameter_*,technique_*,directive_*,rule_* --> <role name="role_b0" roles="inventory" /> <!-- node_read --> <role name="role_c0" roles="node" /> <!-- node_* --> <role name="role_d0" roles="role_a1,role_b0" /> <!-- node_*,config_*,parameter_*,technique_*,directive_*,rule_* --> <role name="inventory" roles="....." /> <!-- empty list - already defined --> </custom-roles> <user password="..." name="user_a0" roles="node_read,node_write,configuration" /> <!-- node_read,node_write,config_*,parameter_*,technique_*,directive_*,rule_* --> <user password="..." name="user_a1" roles="role_a" /> <!-- node_read,node_write,config_*,parameter_*,technique_*,directive_*,rule_* --> <!-- same behavior than for roles --> </authentications>
Updated by François ARMAND almost 2 years ago
- Status changed from New to In progress
Updated by François ARMAND over 1 year ago
Work in progess here: https://github.com/fanf/rudder/commit/f69c713c671954d3d738c8d7ad72b789fff16a3f
Updated by François ARMAND over 1 year ago
Work in progess here: https://github.com/fanf/rudder/commit/dbcdd11d122d83c2c4638062ff412a13524bf9e4
Updated by François ARMAND over 1 year 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/4655
Updated by Vincent MEMBRÉ over 1 year ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|615cd185bceab78fbd4e8c71b669b6205038c2b1.
Updated by François ARMAND over 1 year ago
- Related to Bug #22349: Update user plugin to manage update custom roles added
Updated by Vincent MEMBRÉ over 1 year ago
This bug has been fixed in Rudder 7.3.0~beta1 which was released today.
Updated by Vincent MEMBRÉ over 1 year ago
- Related to Bug #22361: Adapt code to changes from #22206 (custom roles) added
Updated by François ARMAND over 1 year ago
- Related to Bug #22443: Change validation must be adapted to user custom roles changes added
Updated by François ARMAND over 1 year ago
- Related to Bug #22457: Update rudder-user.xml to use permissions in place of roles attribute added
Updated by Vincent MEMBRÉ 6 months ago
- Status changed from Pending release to Released
Actions