)]}'
{"patrole_tempest_plugin/requirements_authority.py":[{"author":{"_account_id":23186,"name":"Felipe Monteiro","email":"felipe.carneiro.monteiro@gmail.com","username":"felipe.monteiro"},"change_message_id":"e47ddd6e7afcefa8d0cc5a411189b54de6761992","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":"        :param str component: Name of the OpenStack service to be validated."},{"line_number":63,"context_line":"        :returns: The dictionary that maps each policy action to the list"},{"line_number":64,"context_line":"            of allowed rules, for the given ``component``."},{"line_number":65,"context_line":"        :rtype: dict"},{"line_number":66,"context_line":"        \"\"\""},{"line_number":67,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_37dcb4e2","line":64,"range":{"start_line":64,"start_character":23,"end_line":64,"end_character":28},"updated":"2018-06-01 00:49:47.000000000","message":"nit: roles","commit_id":"eeb146fd2a3c4d656c584537352c8c9bca35ca5f"},{"author":{"_account_id":17896,"name":"Rick Bartra","email":"rickbartra@microsoft.com","username":"rb560u"},"change_message_id":"ea4eaea31b9088c3d64392963e7ba8b7fc0a3869","unresolved":false,"context_lines":[{"line_number":96,"context_line":"            self.roles_dict \u003d None"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"    def allowed(self, rule_name, role):"},{"line_number":99,"context_line":"        \"\"\"Checks if a given rule in a policy is allowed with given role."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"        :param string rule_name: Rule to be checked using provided requirements"},{"line_number":102,"context_line":"            file specified by ``[patrole].custom_requirements_file``. Must be"}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_a0c47393","line":99,"range":{"start_line":99,"start_character":29,"end_line":99,"end_character":33},"updated":"2018-06-07 16:44:26.000000000","message":"I think this should be \"action\" but I think throughout the framework we use \"rule\"\n\nto me a rule is more of something like:\n\"tenant_read\": \"role:a or role:b or role:c\"","commit_id":"778b7805483626ebcbd93614b21aa4b99951fc04"}]}
