forked from geosolutions-it/geonode-mapstore-client
-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable / hide the charts button if a user doesn't have enough perms on the dataset #1144
Milestone
Comments
@marthamareal please test this on master |
@marthamareal @DavidQuartz does it mean this control is only implemented for maps? |
@giohappy yes it's currently only implemented in maps. I wasn't aware the issue could be replicated in other resources. |
DavidQuartz
added a commit
to DavidQuartz/geonode-mapstore-client
that referenced
this issue
Sep 15, 2022
…'t have enough perms on the dataset (GeoNode#1196)
giohappy
pushed a commit
that referenced
this issue
Sep 19, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem:
add a widget - Couldn't add a chart/table/counter - got this error "Please try to select another layer or widget type. The server doesn't provide the needed services for the layer and the widget type selected. Possible causes are: The selected layer is a raster layer; WFS service is not available; The WPS process gs:aggregate is not available"
Cause:
If a user doesn't have "Download" permissions on a layer WFS services are forbidden, and charts rely on WFS.
Solution:
Disable / hide the charts button in case the user doesn't have enough permissions on that layer.
The text was updated successfully, but these errors were encountered: