Comment 1 for bug 859937

Revision history for this message
sounghie (sounghie) wrote :

i'm solved same issue

/keystone/manage/api.py
---- orign source
@utils.wrap_error
def add_global_role_to_user(self, req, user_id, role_id):
        config.SERVICE.add_global_role_to_user(utils.get_auth_token(req),
            user_id, role_id)
       return utils.send_result(201)

---modified source
@utils.wrap_error
def add_global_role_to_user(self, req, user_id, role_id):
        rval = config.SERVICE.add_global_role_to_user(utils.get_auth_token(req),
            user_id, role_id)
       return utils.send_result(201, req, rval)