)]}'
{"openstack_dashboard/dashboards/project/instances/tables.py":[{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"b4a73288832a86758e8991c69966b7511e3cbd45","unresolved":false,"context_lines":[{"line_number":309,"context_line":"    verbose_name \u003d _(\"Console\")"},{"line_number":310,"context_line":"    url \u003d \"horizon:project:instances:detail\""},{"line_number":311,"context_line":"    classes \u003d (\"btn-console\",)"},{"line_number":312,"context_line":"    policy_rules \u003d ((\"compute\", \"compute_extension:consoles\"),)"},{"line_number":313,"context_line":""},{"line_number":314,"context_line":"    def allowed(self, request, instance\u003dNone):"},{"line_number":315,"context_line":"        return instance.status in ACTIVE_STATES and not is_deleting(instance)"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAUH%2F%2B0Jc%3D","line":312,"updated":"2014-01-21 20:18:27.000000000","message":"set get_policy_target to return project_id","commit_id":"59f91f8513acd3f8d74953ac1cf3549b9f63602c"},{"author":{"_account_id":9014,"name":"Brian DeHamer","email":"brian.dehamer@hp.com","username":"bdehamer"},"change_message_id":"bbbcb53059d259df22fbec3800d8aabfa29eb4c0","unresolved":false,"context_lines":[{"line_number":309,"context_line":"    verbose_name \u003d _(\"Console\")"},{"line_number":310,"context_line":"    url \u003d \"horizon:project:instances:detail\""},{"line_number":311,"context_line":"    classes \u003d (\"btn-console\",)"},{"line_number":312,"context_line":"    policy_rules \u003d ((\"compute\", \"compute_extension:consoles\"),)"},{"line_number":313,"context_line":""},{"line_number":314,"context_line":"    def allowed(self, request, instance\u003dNone):"},{"line_number":315,"context_line":"        return instance.status in ACTIVE_STATES and not is_deleting(instance)"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAUH%2F%2BuF8%3D","line":312,"in_reply_to":"AAAAUH%2F%2B0Jc%3D","updated":"2014-01-22 20:09:52.000000000","message":"Done","commit_id":"59f91f8513acd3f8d74953ac1cf3549b9f63602c"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"b4a73288832a86758e8991c69966b7511e3cbd45","unresolved":false,"context_lines":[{"line_number":326,"context_line":"    verbose_name \u003d _(\"View Log\")"},{"line_number":327,"context_line":"    url \u003d \"horizon:project:instances:detail\""},{"line_number":328,"context_line":"    classes \u003d (\"btn-log\",)"},{"line_number":329,"context_line":"    policy_rules \u003d ((\"compute\", \"compute_extension:console_output\"),)"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"    def allowed(self, request, instance\u003dNone):"},{"line_number":332,"context_line":"        return instance.status in ACTIVE_STATES and not is_deleting(instance)"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAUH%2F%2B0Kc%3D","line":329,"updated":"2014-01-21 20:18:27.000000000","message":"although, the default rule does not check owner, we should include the project id with get_policy_target","commit_id":"59f91f8513acd3f8d74953ac1cf3549b9f63602c"},{"author":{"_account_id":9014,"name":"Brian DeHamer","email":"brian.dehamer@hp.com","username":"bdehamer"},"change_message_id":"bbbcb53059d259df22fbec3800d8aabfa29eb4c0","unresolved":false,"context_lines":[{"line_number":326,"context_line":"    verbose_name \u003d _(\"View Log\")"},{"line_number":327,"context_line":"    url \u003d \"horizon:project:instances:detail\""},{"line_number":328,"context_line":"    classes \u003d (\"btn-log\",)"},{"line_number":329,"context_line":"    policy_rules \u003d ((\"compute\", \"compute_extension:console_output\"),)"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"    def allowed(self, request, instance\u003dNone):"},{"line_number":332,"context_line":"        return instance.status in ACTIVE_STATES and not is_deleting(instance)"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAUH%2F%2BuF4%3D","line":329,"in_reply_to":"AAAAUH%2F%2B0Kc%3D","updated":"2014-01-22 20:09:52.000000000","message":"Done","commit_id":"59f91f8513acd3f8d74953ac1cf3549b9f63602c"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"b4a73288832a86758e8991c69966b7511e3cbd45","unresolved":false,"context_lines":[{"line_number":431,"context_line":"    verbose_name \u003d _(\"Associate Floating IP\")"},{"line_number":432,"context_line":"    url \u003d \"horizon:project:access_and_security:floating_ips:associate\""},{"line_number":433,"context_line":"    classes \u003d (\"ajax-modal\", \"btn-associate\")"},{"line_number":434,"context_line":"    policy_rules \u003d ((\"compute\", \"network:associate_floating_ip\"),)"},{"line_number":435,"context_line":""},{"line_number":436,"context_line":"    def allowed(self, request, instance):"},{"line_number":437,"context_line":"        if api.network.floating_ip_simple_associate_supported(request):"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAUH%2F%2B0KM%3D","line":434,"updated":"2014-01-21 20:18:27.000000000","message":"here too, for get_policy_target","commit_id":"59f91f8513acd3f8d74953ac1cf3549b9f63602c"},{"author":{"_account_id":9014,"name":"Brian DeHamer","email":"brian.dehamer@hp.com","username":"bdehamer"},"change_message_id":"bbbcb53059d259df22fbec3800d8aabfa29eb4c0","unresolved":false,"context_lines":[{"line_number":431,"context_line":"    verbose_name \u003d _(\"Associate Floating IP\")"},{"line_number":432,"context_line":"    url \u003d \"horizon:project:access_and_security:floating_ips:associate\""},{"line_number":433,"context_line":"    classes \u003d (\"ajax-modal\", \"btn-associate\")"},{"line_number":434,"context_line":"    policy_rules \u003d ((\"compute\", \"network:associate_floating_ip\"),)"},{"line_number":435,"context_line":""},{"line_number":436,"context_line":"    def allowed(self, request, instance):"},{"line_number":437,"context_line":"        if api.network.floating_ip_simple_associate_supported(request):"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAUH%2F%2BuFw%3D","line":434,"in_reply_to":"AAAAUH%2F%2B0KM%3D","updated":"2014-01-22 20:09:52.000000000","message":"Done","commit_id":"59f91f8513acd3f8d74953ac1cf3549b9f63602c"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"b4a73288832a86758e8991c69966b7511e3cbd45","unresolved":false,"context_lines":[{"line_number":451,"context_line":"    name \u003d \"associate-simple\""},{"line_number":452,"context_line":"    verbose_name \u003d _(\"Associate Floating IP\")"},{"line_number":453,"context_line":"    classes \u003d (\"btn-associate-simple\",)"},{"line_number":454,"context_line":"    policy_rules \u003d ((\"compute\", \"network:associate_floating_ip\"),)"},{"line_number":455,"context_line":""},{"line_number":456,"context_line":"    def allowed(self, request, instance):"},{"line_number":457,"context_line":"        if not api.network.floating_ip_simple_associate_supported(request):"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAUH%2F%2B0KE%3D","line":454,"updated":"2014-01-21 20:18:27.000000000","message":"here too","commit_id":"59f91f8513acd3f8d74953ac1cf3549b9f63602c"},{"author":{"_account_id":9014,"name":"Brian DeHamer","email":"brian.dehamer@hp.com","username":"bdehamer"},"change_message_id":"bbbcb53059d259df22fbec3800d8aabfa29eb4c0","unresolved":false,"context_lines":[{"line_number":451,"context_line":"    name \u003d \"associate-simple\""},{"line_number":452,"context_line":"    verbose_name \u003d _(\"Associate Floating IP\")"},{"line_number":453,"context_line":"    classes \u003d (\"btn-associate-simple\",)"},{"line_number":454,"context_line":"    policy_rules \u003d ((\"compute\", \"network:associate_floating_ip\"),)"},{"line_number":455,"context_line":""},{"line_number":456,"context_line":"    def allowed(self, request, instance):"},{"line_number":457,"context_line":"        if not api.network.floating_ip_simple_associate_supported(request):"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAUH%2F%2BuFs%3D","line":454,"in_reply_to":"AAAAUH%2F%2B0KE%3D","updated":"2014-01-22 20:09:52.000000000","message":"Done","commit_id":"59f91f8513acd3f8d74953ac1cf3549b9f63602c"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"b4a73288832a86758e8991c69966b7511e3cbd45","unresolved":false,"context_lines":[{"line_number":480,"context_line":"    name \u003d \"disassociate\""},{"line_number":481,"context_line":"    verbose_name \u003d _(\"Disassociate Floating IP\")"},{"line_number":482,"context_line":"    classes \u003d (\"btn-danger\", \"btn-disassociate\",)"},{"line_number":483,"context_line":"    policy_rules \u003d ((\"compute\", \"network:disassociate_floating_ip\"),)"},{"line_number":484,"context_line":""},{"line_number":485,"context_line":"    def allowed(self, request, instance):"},{"line_number":486,"context_line":"        if not conf.HORIZON_CONFIG[\"simple_ip_management\"]:"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAUH%2F%2B0J0%3D","line":483,"updated":"2014-01-21 20:18:27.000000000","message":"here too","commit_id":"59f91f8513acd3f8d74953ac1cf3549b9f63602c"},{"author":{"_account_id":9014,"name":"Brian DeHamer","email":"brian.dehamer@hp.com","username":"bdehamer"},"change_message_id":"bbbcb53059d259df22fbec3800d8aabfa29eb4c0","unresolved":false,"context_lines":[{"line_number":480,"context_line":"    name \u003d \"disassociate\""},{"line_number":481,"context_line":"    verbose_name \u003d _(\"Disassociate Floating IP\")"},{"line_number":482,"context_line":"    classes \u003d (\"btn-danger\", \"btn-disassociate\",)"},{"line_number":483,"context_line":"    policy_rules \u003d ((\"compute\", \"network:disassociate_floating_ip\"),)"},{"line_number":484,"context_line":""},{"line_number":485,"context_line":"    def allowed(self, request, instance):"},{"line_number":486,"context_line":"        if not conf.HORIZON_CONFIG[\"simple_ip_management\"]:"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAUH%2F%2BuFo%3D","line":483,"in_reply_to":"AAAAUH%2F%2B0J0%3D","updated":"2014-01-22 20:09:52.000000000","message":"Done","commit_id":"59f91f8513acd3f8d74953ac1cf3549b9f63602c"},{"author":{"_account_id":6914,"name":"Tatiana Ovchinnikova","email":"t.v.ovtchinnikova@gmail.com","username":"tmazur"},"change_message_id":"913c5f974ee72e0b60a2501aa7041a9540e421c8","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":"import logging"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"from django.conf import settings  # noqa"},{"line_number":21,"context_line":"from django.core import urlresolvers"},{"line_number":22,"context_line":"from django import shortcuts"},{"line_number":23,"context_line":"from django import template"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAUH%2F%2BlBg%3D","line":20,"updated":"2014-01-24 07:30:33.000000000","message":"\"# noqa\" is not necessary anymore: https://github.com/openstack/horizon/blob/master/tox.ini#L48","commit_id":"4d8c573b1d772cf02dd8496ef7599b266d3114f6"}],"openstack_dashboard/test/tests/policy.py":[{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"b4a73288832a86758e8991c69966b7511e3cbd45","unresolved":false,"context_lines":[{"line_number":41,"context_line":"    def test_check_identity_rule_not_found_false(self):"},{"line_number":42,"context_line":"        policy.reset()"},{"line_number":43,"context_line":"        value \u003d policy.check(((\"identity\", \"i_dont_exist\"),),"},{"line_number":44,"context_line":"            request\u003dself.request)"},{"line_number":45,"context_line":"        # this should fail because the default check for"},{"line_number":46,"context_line":"        # identity is admin_required"},{"line_number":47,"context_line":"        self.assertFalse(value)"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAUH%2F%2B0JM%3D","line":44,"updated":"2014-01-21 20:18:27.000000000","message":"??","commit_id":"59f91f8513acd3f8d74953ac1cf3549b9f63602c"}]}
