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
Limit "maps using this layer" to maps the user has permission to see
Overview
The "maps using this layer" section of the layer detail page displays not only maps that the user has permission to view, but also those that the user has no permissions to view. This section ("maps using this layer") should only show maps that the user has permission to view.
Limit "maps using this layer" to maps the user has permission to see
Overview
The "maps using this layer" section of the layer detail page displays not only maps that the user has permission to view, but also those that the user has no permissions to view. This section ("maps using this layer") should only show maps that the user has permission to view.
Proposed By
Abulo John Joshua
Assigned to Release
This proposal is for GeoNode 3.1.0.dev1594640445.
State
Motivation
Providing a link to a map that a user does not have permissions to view will be a little bit misleading and inconveniencing to the user.
Proposal
Use
user.has_perm('perm', map_object. get_self_resource())
to exclude maps that the user does not have permissions to view.The text was updated successfully, but these errors were encountered: