From 5447b0a092dd8b8a08d997e7d347cadcee3dd3ff Mon Sep 17 00:00:00 2001
From: Stefano Alberto Russo <stefano.russo@gmail.com>
Date: Mon, 8 Nov 2021 03:16:56 +0100
Subject: [PATCH] Fixed bug in the Files module.

---
 services/webapp/code/rosetta/core_app/api.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/services/webapp/code/rosetta/core_app/api.py b/services/webapp/code/rosetta/core_app/api.py
index feb7d9d..025a701 100644
--- a/services/webapp/code/rosetta/core_app/api.py
+++ b/services/webapp/code/rosetta/core_app/api.py
@@ -702,12 +702,9 @@ class FileManagerAPI(PrivateGETAPI, PrivatePOSTAPI):
                 for computing in computings:
                     
                     # For now, we only support SSH-based computing resources
-                    if not 'ssh' in computing.access_method:
+                    if not 'ssh' in computing.access_mode:
                         continue
                         
-                    # Attach user conf in any
-                    computing.attach_user_conf(request.user)
-                    
                     data['data'].append({
                                          'id': '/{}/'.format(computing.name),
                                          'type': 'folder',
-- 
GitLab