Revision history [back]

Hi, I am trying to do the same thing from my python script. I tried to do it from add_user function in and also add_user_role in is actually called from add_user function) but I am getting a 404-resource not found. Also the format in which tenant, user and role id are described is also missing. Horizon directly passes ids, probably as integers or some other format(which I am unable to find) but add_user_role does a base.getid on all so, a direct passing of integers will always throw an error, right? Any insights? Thanks