code: def token_permission_view(token):
      
      scopes = [current_oauth2server.scopes[x] for x in token.scopes]
      return render_template(
          "invenio_oauth2server/settings/token_permission_view.html",
          token=token,
          scopes=scopes,
      )
docs: Show permission garanted to authorized application token.