Fix bug 1587 - TypeError fix
[osm/NBI.git] / osm_nbi / auth.py
index 7c29f84..eef2ae7 100644 (file)
@@ -400,7 +400,6 @@ class Authenticator:
         It works in a shadow copy and replace at the end to allow other threads working with the old copy
         :return: None
         """
-
         permissions = {oper: [] for oper in self.role_permissions}
         # records = self.db.get_list(self.roles_to_operations_table)
         records = self.backend.get_role_list()
@@ -503,6 +502,7 @@ class Authenticator:
                     query_string_operations,
                     item_id,
                 )
+                self.logger.info("RBAC_auth: {}".format(RBAC_auth))
                 token_info["allow_show_user_project_role"] = RBAC_auth
 
             return token_info