Comment 4 for bug 1619486

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/mitaka)

Reviewed: https://review.openstack.org/367983
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=deca4979ee36fc3dfe14ff029c325a6e497e50f2
Submitter: Jenkins
Branch: stable/mitaka

commit deca4979ee36fc3dfe14ff029c325a6e497e50f2
Author: tivaliy <email address hidden>
Date: Sun Sep 4 12:24:23 2016 +0300

    Align create role validate procedure

    Now, in Nailgun, there is a 'weak' create role
    validation procedure that only validates JSON schema.
    Meanwhile, 'volumes_roles_mapping' ids are not validated,
    that allows create roles with wrong 'volumes_roles_mapping'
    metadata. This patch:
      * fixes validate procedure of 'volumes_roles_mapping' ids
        while creating a new role
      * moves validate code for already existed roles from handler
        to validator

    Change-Id: Ib040b9bde0f2a54323a36c8e3c2d01716282cbdc
    Closes-Bug: 1619486
    (cherry picked from commit a3cd0ea0708e6c532bdcea0ac260c913bddd92f4)