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)
i'm solved same issue
/keystone/ manage/ api.py 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) result( 201)
---- orign source
@utils.wrap_error
def add_global_
return utils.send_
---modified source role_to_ user(self, req, user_id, role_id): SERVICE. add_global_ role_to_ user(utils. get_auth_ token(req) ,
user_ id, role_id) result( 201, req, rval)
@utils.wrap_error
def add_global_
rval = config.
return utils.send_