X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fauth.py;h=eef2ae7af57acf9bb49de7d18e105675572f884f;hp=7c29f84875418f08351391ec641cad3f7afbd542;hb=60bf895c75956f7a91cad46f920a1ad0b86a2000;hpb=4568a372eb5a204e04d917213de03ec51f9110c1 diff --git a/osm_nbi/auth.py b/osm_nbi/auth.py index 7c29f84..eef2ae7 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