kartoza / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
http://geonode.org/
GNU General Public License v3.0
8 stars 17 forks source link

Fix default filter problem when no group is assigned #568

Closed zamuzakki closed 4 years ago

zamuzakki commented 4 years ago

Fix https://github.com/kartoza/IGRAC-GGIS/issues/43#issuecomment-636294379

To fix this, instead of filtering solely by user group, filter is based on intersection between user group and objects group.

Demo for objects with no group: 1

Demo for objects when group is assigned: 2

anitanh commented 4 years ago

I think we will review this again in the future, anyway thanks @zamuzakki