diff --git a/server/portal/apps/projects/workspace_operations/shared_workspace_operations.py b/server/portal/apps/projects/workspace_operations/shared_workspace_operations.py index 49ce1c05a..062d48069 100644 --- a/server/portal/apps/projects/workspace_operations/shared_workspace_operations.py +++ b/server/portal/apps/projects/workspace_operations/shared_workspace_operations.py @@ -341,6 +341,9 @@ def list_projects(client, root_system_id=None): is_review_system = root_system.get('reviewProject', False) is_publication_system = root_system.get('publicationProject', False) + else: + is_review_system = False + is_publication_system = False community_system = next(system for system in settings.PORTAL_DATAFILES_STORAGE_SYSTEMS if system['scheme'] == 'community')