terraframe / geoprism-registry

GeoPrism Registry is a system for curating interlinked data through time. It's the first framework implementing the Common Geo-Registry specification.
https://geoprismregistry.com/
GNU Lesser General Public License v3.0
18 stars 5 forks source link

Converting a geo-object type's visibility from public to private does not make the hierarchies that contains it private as well #511

Open SteeveEbener opened 3 years ago

SteeveEbener commented 3 years ago

List the CGR information

Describe the bug (clear and concise) Converting the visibility of a geo-object type's being the lowest child of any hierarchy from public to private does not make the hierarchies that contains this geo-object type private as well

To Reproduce As the Moh RA and using Tolkien data:

  1. Go to the lists module
  2. Convert the visibility of the community health workers list from public to private (can't change the visibility of a geo-object type without changing the one of the list first => See item No 66 in the user feedback google spreadsheet)
  3. Go to the geo-object types and hierarchies module
  4. Convert the visibility of the Community Health Worker (MOH) geo-object type from public to private
  5. Look at the content of the "CHW-Health Post Hierarchy (MOH)" Hierarchy => CHW are still there (normal)
  6. Log out as Moh RA and log in as Moha RA
  7. Go to the geo-object types and hierarchies module
  8. Look at the Hierarchies section => Error 1: the "CHW-Health Post Hierarchy (MOH)" Hierarchy
  9. Open the "CHW-Health Post Hierarchy (MOH)" Hierarchy => Error 2 => The hierarchy is now incomplete as the CHW geo-object type has been made private (see screenshot below)

Expected behavior (clear and concise) "Privatizing" The geo-object type at the lowest level of any hierarchy privatize the hierarchies in question

Screenshots image

Desktop (please complete the following information):

Additional context (if any)

rrowlands commented 2 years ago

Duplicate of #435

SteeveEbener commented 2 years ago

This is not a duplicate of #435. Can you please re-open this ticket? Thanks

justinlewis commented 2 years ago

Reopened because:

511 seeks to make all hierarchies that contain a Geo-Object Type private if that Type is first made private

While

435 is asking for a visibility setting for the whole hierarchy to be made public or private. #435 needs to be done in order to implement this ticket