Refactor role restrictions check
Current logic of role validation is very complex. It makes addition of new roles painful:
https:/
We need to refactor it. I think we can define/caluculate minimum/maximum amount for every role. For current restrictions it would be ok. Probably this data can be moved to openstack.yaml in future.
Feature Lead: Vitaly Kramskikh
Mandatory Design Reviewers: Evgeniy L, Julia Aranovich
Developers: Julia Aranovich
QA:
Blueprint information
- Status:
- Complete
- Approver:
- Vitaly Kramskikh
- Priority:
- Medium
- Drafter:
- Vitaly Kramskikh
- Direction:
- Approved
- Assignee:
- Przemyslaw Kaminski
- Definition:
- Approved
- Series goal:
- Accepted for 6.1.x
- Implementation:
- Implemented
- Milestone target:
- 6.1
- Started by
- Julia Aranovich
- Completed by
- Julia Aranovich
Related branches
Related bugs
Bug #1403576: No validation on mongo roles if ceilometer enabled in nailgun API | Fix Released |
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Role limits refactoring
Addressed by: https:/
Fixes for YAML role restrictions definitions
Addressed by: https:/
Refactor role_metadata parsing to utils.js
Gerrit topic: https:/
Addressed by: https:/
Transforms role 'depends' attribute to 'restrictions'
Gerrit topic: https:/