Repository: hydroshare/hydroshare

Issue:
Incorrect display of message about authors
**Description of the bug**

When I create a resource having only author(s) that are not HydroShare user(s), HydroShare does not display the author information but instead displays the following message:

> This resource does not have an author who is an active HydroShare user. Contact CUAHSI ([help@cuahsi.org](mailto:help@cuahsi.org)) to determine if accessing this resource is possible.

![image](https://user-images.githubusercontent.com/3485902/174893230-e8bdf38c-0a4e-4d25-8897-4d4ea8e3da3a.png)

As the owner of the resource, I should be able to see the author information regardless. The resource is private and I can obviously access the resource because I am viewing it - not to mention, I own it and shouldn't need to contact CUAHSI about accessing it. 

Steps to reproduce the bug:
1. Create a new resource.
2. Add an author that is not a HydroShare user
3. Remove any authors that are HydroShare users
4. View the resource and the message will be displayed in the Authors area

**Expected behavior**

As an owner of the resource, I should be able to see the author information at any time. I can't actually think of a reason for this message to be displayed in any case. It is perfectly normal for there to be resources for which there are no authors that are HydroShare users. The owner of the resource creates it and sets access control - not the authors (although the two may be the same under many circumstances). The logic behind this message should just get removed.

**Additional information**

None.



Discussion:
I'm to blame, introduced in PR #4576, issue #3077

Resolving patch:
diff --git a/hs_core/page_processors.py b/hs_core/page_processors.py
--- a/hs_core/page_processors.py
+++ b/hs_core/page_processors.py
@@ -118,11 +118,6 @@ def get_page_context(page, user, resource_edit=False, extended_metadata_layout=N
     topics = list(topics)  # force QuerySet evaluation
     content_model.update_relation_meta()
     creators = content_model.metadata.creators.all()
-    has_active_creators = False
-    for creator in creators:
-        if creator.is_active:
-            has_active_creators = True
-            break
 
     # user requested the resource in READONLY mode
     if not resource_edit:
@@ -184,7 +179,6 @@ def get_page_context(page, user, resource_edit=False, extended_metadata_layout=N
                    'readme': readme,
                    'abstract': abstract,
                    'creators': creators,
-                   'has_active_creators': has_active_creators,
                    'contributors': content_model.metadata.contributors.all(),
                    'temporal_coverage': temporal_coverage_data_dict,
                    'spatial_coverage': spatial_coverage_data_dict,
@@ -279,7 +273,6 @@ def get_page_context(page, user, resource_edit=False, extended_metadata_layout=N
                'resource_edit_mode': resource_edit,
                'metadata_form': metadata_form,
                'creators': creators,
-               'has_active_creators': has_active_creators,
                'title': content_model.metadata.title,
                'readme': readme,
                'contributors': content_model.metadata.contributors.all(),


Test patch: