bcgov / nr-gwells

Groundwater Wells and Aquifers
Apache License 2.0
1 stars 0 forks source link

fix: hide internal well comments from public users #193

Closed raarielgrace closed 2 days ago

raarielgrace commented 1 week ago

Description

Bug fix in FE where the wrong key was being checked. Feature change in the BE to add internal_comments to the fields that the API returns, but to only return it conditionally. Users with the well_view role are able to see it.

Fixes # 190

Type of change

How Has This Been Tested?

Checklist


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in: