Bug 2351 Fixed: Able to Update user role even with project user role
Change-Id: I787b76f53219d24113dd3cb30ea3cafd18933d8f
Signed-off-by: Adurti <adurti.v@tataelxsi.co.in>
diff --git a/osm_nbi/nbi.py b/osm_nbi/nbi.py
index d169cdd..1bb7927 100644
--- a/osm_nbi/nbi.py
+++ b/osm_nbi/nbi.py
@@ -1510,6 +1510,7 @@
"force": False,
"project_id": (token_info["project_id"],),
"username": token_info["username"],
+ "user_id": token_info["user_id"],
"admin": token_info["admin"],
"public": None,
"allow_show_user_project_role": token_info["allow_show_user_project_role"],