Fixed scope related tests

This commit is contained in:
0mar
2021-03-12 09:40:36 +01:00
parent 7496fda089
commit c5ebee0ca0
5 changed files with 21 additions and 16 deletions

View File

@@ -447,6 +447,7 @@ class BaseHandler(RequestHandler):
else: # deprecated oauth tokens
user_from_oauth = self.get_current_user_oauth_token()
self.raw_scopes = scopes.get_scopes_for(user_from_oauth)
app_log.debug("Found scopes [%s]", ",".join(self.raw_scopes))
self.parsed_scopes = scopes.parse_scopes(self.raw_scopes)
@property