)]}'
{"openstack_dashboard/dashboards/identity/static/dashboard/identity/roles/actions/delete.action.service.js":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"61d584599e86215c5a3cba604f930f0bfc2f4bba","unresolved":false,"context_lines":[{"line_number":54,"context_line":"    toast,"},{"line_number":55,"context_line":"    roleResourceType"},{"line_number":56,"context_line":"  ) {"},{"line_number":57,"context_line":"    var scope, context, deleteRolePromise;"},{"line_number":58,"context_line":"    var notAllowedMessage \u003d gettext(\"You are not allowed to delete roles: %s\");"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"    var service \u003d {"}],"source_content_type":"text/javascript","patch_set":3,"id":"3a71b18c_1caf8e7d","line":57,"updated":"2016-12-07 03:45:27.000000000","message":"scope and context should not be stored on this service singleton.","commit_id":"9b6b410fef04ddf4dc01bbc6861e44da8cc5297f"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"51ca917644de160043a6404d45cb74d4678bd951","unresolved":false,"context_lines":[{"line_number":54,"context_line":"    toast,"},{"line_number":55,"context_line":"    roleResourceType"},{"line_number":56,"context_line":"  ) {"},{"line_number":57,"context_line":"    var scope, context, deleteRolePromise;"},{"line_number":58,"context_line":"    var notAllowedMessage \u003d gettext(\"You are not allowed to delete roles: %s\");"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"    var service \u003d {"}],"source_content_type":"text/javascript","patch_set":3,"id":"1a6eadb0_690bbf8e","line":57,"in_reply_to":"3a71b18c_1caf8e7d","updated":"2016-12-15 05:12:47.000000000","message":"Done","commit_id":"9b6b410fef04ddf4dc01bbc6861e44da8cc5297f"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"61d584599e86215c5a3cba604f930f0bfc2f4bba","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    //////////////"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    function initScope(newScope) {"},{"line_number":71,"context_line":"      scope \u003d newScope;"},{"line_number":72,"context_line":"      context \u003d { };"},{"line_number":73,"context_line":"      deleteRolePromise \u003d policy.ifAllowed({rules: [[ \u0027identity\u0027, \u0027identity:delete_role\u0027 ]]});"}],"source_content_type":"text/javascript","patch_set":3,"id":"3a71b18c_bc14dae8","line":70,"updated":"2016-12-07 03:45:27.000000000","message":"initScope is deprecated. Use of scope in this module should be removed, please.\n\nYou may still perform the delete policy lookup in an initAction function.","commit_id":"9b6b410fef04ddf4dc01bbc6861e44da8cc5297f"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"51ca917644de160043a6404d45cb74d4678bd951","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    //////////////"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    function initScope(newScope) {"},{"line_number":71,"context_line":"      scope \u003d newScope;"},{"line_number":72,"context_line":"      context \u003d { };"},{"line_number":73,"context_line":"      deleteRolePromise \u003d policy.ifAllowed({rules: [[ \u0027identity\u0027, \u0027identity:delete_role\u0027 ]]});"}],"source_content_type":"text/javascript","patch_set":3,"id":"1a6eadb0_29d707ee","line":70,"in_reply_to":"3a71b18c_bc14dae8","updated":"2016-12-15 05:12:47.000000000","message":"Done","commit_id":"9b6b410fef04ddf4dc01bbc6861e44da8cc5297f"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"61d584599e86215c5a3cba604f930f0bfc2f4bba","unresolved":false,"context_lines":[{"line_number":87,"context_line":"        ]);"},{"line_number":88,"context_line":"      } else {"},{"line_number":89,"context_line":"        return deleteRolePromise;"},{"line_number":90,"context_line":"      }"},{"line_number":91,"context_line":"    }"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    function checkPermission(role) {"}],"source_content_type":"text/javascript","patch_set":3,"id":"3a71b18c_3cb60af9","line":90,"updated":"2016-12-07 03:45:27.000000000","message":"I don\u0027t understand why this isn\u0027t just returning deleteRolePromise - the alternative doesn\u0027t do anything else.","commit_id":"9b6b410fef04ddf4dc01bbc6861e44da8cc5297f"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"51ca917644de160043a6404d45cb74d4678bd951","unresolved":false,"context_lines":[{"line_number":87,"context_line":"        ]);"},{"line_number":88,"context_line":"      } else {"},{"line_number":89,"context_line":"        return deleteRolePromise;"},{"line_number":90,"context_line":"      }"},{"line_number":91,"context_line":"    }"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    function checkPermission(role) {"}],"source_content_type":"text/javascript","patch_set":3,"id":"1a6eadb0_e9f7cf88","line":90,"in_reply_to":"3a71b18c_3cb60af9","updated":"2016-12-15 05:12:47.000000000","message":"Done","commit_id":"9b6b410fef04ddf4dc01bbc6861e44da8cc5297f"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"61d584599e86215c5a3cba604f930f0bfc2f4bba","unresolved":false,"context_lines":[{"line_number":90,"context_line":"      }"},{"line_number":91,"context_line":"    }"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    function checkPermission(role) {"},{"line_number":94,"context_line":"      return {promise: allowed(role), context: role};"},{"line_number":95,"context_line":"    }"},{"line_number":96,"context_line":""}],"source_content_type":"text/javascript","patch_set":3,"id":"3a71b18c_9cdabe15","line":93,"updated":"2016-12-07 03:45:27.000000000","message":"I would expose this function, and others below, to allow individual function unit testing.","commit_id":"9b6b410fef04ddf4dc01bbc6861e44da8cc5297f"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"51ca917644de160043a6404d45cb74d4678bd951","unresolved":false,"context_lines":[{"line_number":90,"context_line":"      }"},{"line_number":91,"context_line":"    }"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    function checkPermission(role) {"},{"line_number":94,"context_line":"      return {promise: allowed(role), context: role};"},{"line_number":95,"context_line":"    }"},{"line_number":96,"context_line":""}],"source_content_type":"text/javascript","patch_set":3,"id":"1a6eadb0_09f16b95","line":93,"in_reply_to":"3a71b18c_9cdabe15","updated":"2016-12-15 05:12:47.000000000","message":"Done","commit_id":"9b6b410fef04ddf4dc01bbc6861e44da8cc5297f"}],"openstack_dashboard/dashboards/identity/static/dashboard/identity/roles/actions/delete.action.service.spec.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"8049f753167800f8f62df9c8d40d65906f3039d5","unresolved":false,"context_lines":[{"line_number":44,"context_line":"        });"},{"line_number":45,"context_line":"      });"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"      it(\u0027should open the delete modal and show correct labels\u0027, function test() {"},{"line_number":48,"context_line":"        service.perform([{name: \u0027one\u0027}, {name: \u0027two\u0027}]);"},{"line_number":49,"context_line":"        var labels \u003d deleteModalService.open.calls.argsFor(0)[2].labels;"},{"line_number":50,"context_line":"        expect(deleteModalService.open).toHaveBeenCalled();"}],"source_content_type":"text/javascript","patch_set":8,"id":"1a6eadb0_50d6bf27","line":47,"updated":"2016-12-21 02:49:01.000000000","message":"has same title as previous test case, maybe change to\n\n\nshould open the delete modal and show correct label for single entity\nshould open the delete modal and show correct label for multiple entities\n\n\nrespectively","commit_id":"57d95773cc3033b6d96dff4d9a3f18eb1a44d791"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"2bc1c102544090661e69dbed9bdce13724965bca","unresolved":false,"context_lines":[{"line_number":44,"context_line":"        });"},{"line_number":45,"context_line":"      });"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"      it(\u0027should open the delete modal and show correct labels\u0027, function test() {"},{"line_number":48,"context_line":"        service.perform([{name: \u0027one\u0027}, {name: \u0027two\u0027}]);"},{"line_number":49,"context_line":"        var labels \u003d deleteModalService.open.calls.argsFor(0)[2].labels;"},{"line_number":50,"context_line":"        expect(deleteModalService.open).toHaveBeenCalled();"}],"source_content_type":"text/javascript","patch_set":8,"id":"da4df55a_f5fb0779","line":47,"in_reply_to":"1a6eadb0_50d6bf27","updated":"2016-12-28 04:49:06.000000000","message":"Done","commit_id":"57d95773cc3033b6d96dff4d9a3f18eb1a44d791"}]}
