Refactor role restrictions check

Registered by Vitaly Kramskikh on 2014-04-10

Current logic of role validation is very complex. It makes addition of new roles painful:
https://review.openstack.org/#/c/84408/
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:
milestone icon 6.1
Started by
Julia Aranovich on 2014-04-14
Completed by
Julia Aranovich on 2015-03-04

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/refactor-role-restrictions-check,n,z

Addressed by: https://review.openstack.org/95456
    Role limits refactoring

Addressed by: https://review.openstack.org/126930
    Fixes for YAML role restrictions definitions

Addressed by: https://review.openstack.org/126937
    Refactor role_metadata parsing to utils.js

Gerrit topic: https://review.openstack.org/#q,topic:role-restrictions,n,z

Addressed by: https://review.openstack.org/129171
    Transforms role 'depends' attribute to 'restrictions'

Gerrit topic: https://review.openstack.org/#q,topic:bug/1381613,n,z

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.