You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A WFS resource is displayed even if Add to map and Download privileges are unchecked
To Reproduce
Steps to reproduce the behavior:
Add a WFS resource to a record
Uncheck the privileges Add to map and Download
Unlog yourself and open the record view as anonymous person
See the WFS resource being displayed, with a Download button. The add to map button is grayed but still works (even though adding a WFS layer to the map seems broken)
Expected behavior
if add to map privilege is unchecked, the add to map button should not be displayed.
if download privilege is unchecked, the download button should not be displayed.
if both are unchecked, the WFS layer information should not be displayed at all, as it is for a WMS layer
Screenshots
Public view (not logged in):
Privileges:
Desktop (please complete the following information):
Browser : Firefox, Chromium
GeoNetwork Version 4.4.5
Docker composition
The text was updated successfully, but these errors were encountered:
Describe the bug
A WFS resource is displayed even if
Add to map
andDownload
privileges are uncheckedTo Reproduce
Steps to reproduce the behavior:
Add to map
andDownload
add to map
button is grayed but still works (even though adding a WFS layer to the map seems broken)Expected behavior
add to map
privilege is unchecked, theadd to map
button should not be displayed.download
privilege is unchecked, thedownload
button should not be displayed.Screenshots
Public view (not logged in):
Privileges:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: