)]}'
{"openstack_dashboard/dashboards/project/stacks/tabs.py":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"41237fb2311409cdbb13ea38243f7b3d2fca9957","unresolved":false,"context_lines":[{"line_number":60,"context_line":""},{"line_number":61,"context_line":"    def get_context_data(self, request):"},{"line_number":62,"context_line":"        resource \u003d self.tab_group.kwargs[\u0027resource\u0027]"},{"line_number":63,"context_line":"        resource_url \u003d mappings.resource_to_url(resource)"},{"line_number":64,"context_line":"        return {"},{"line_number":65,"context_line":"            \"resource\": resource,"},{"line_number":66,"context_line":"            \"resource_url\": resource_url,"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAUX%2F%2Fof8%3D","line":63,"updated":"2014-02-11 21:15:05.000000000","message":"The url generated here could be referencing to various pages instance/network/swift. The user should not see a link if they don\u0027t have access to it.\n\nImplementing rbac here is a bit trickier,  one idea is we could  modify mappings.resource_urls dictionary, and add a new property \"policy\" for each url. Then the resource_to_url method can perform the check if the user has permission to view the page otherwise display the Resource ID as text.","commit_id":"a589d61488067a6e6e7c015fce75e2a0f11f0df0"}],"openstack_dashboard/dashboards/project/stacks/templates/stacks/_resource_overview.html":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"3ac2f467c4570a200d3436ad9f9472ee8da95bd5","unresolved":false,"context_lines":[{"line_number":14,"context_line":"    \u003cdd\u003e"},{"line_number":15,"context_line":"    \u003ca href\u003d\"{{ resource_url }}\"\u003e"},{"line_number":16,"context_line":"        {{ resource.physical_resource_id }}"},{"line_number":17,"context_line":"    \u003c/a\u003e"},{"line_number":18,"context_line":"    \u003c/dd\u003e"},{"line_number":19,"context_line":"  \u003c/dl\u003e"},{"line_number":20,"context_line":"  \u003cdl\u003e"}],"source_content_type":"text/html","patch_set":5,"id":"AAAAVn%2F%2FrC4%3D","line":17,"updated":"2014-03-04 18:38:53.000000000","message":"would be nice to have the \u003ca\u003e tag indented since it is a child of \u003cdd\u003e","commit_id":"03d7a23b9e19c2855a4a71e5b93e783481629025"}]}
