X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fauth.py;h=6c9ee925abaa3b6721604adbcd24a2f253de45de;hp=7c29f84875418f08351391ec641cad3f7afbd542;hb=b6480fc3be0d05e4e64f35a12dccdabf249ed94e;hpb=5758955b7b394517ff5caf5506a4400cdc5aa372 diff --git a/osm_nbi/auth.py b/osm_nbi/auth.py index 7c29f84..6c9ee92 100644 --- a/osm_nbi/auth.py +++ b/osm_nbi/auth.py @@ -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