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>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/osm_nbi/nbi.py b/osm_nbi/nbi.py
index 5e04371..861ba31 100644
--- a/osm_nbi/nbi.py
+++ b/osm_nbi/nbi.py
@@ -1333,6 +1333,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"],