Skip to content

Commit

Permalink
[Closes #4001] Typo on sync_with_guardian
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed Oct 16, 2018
1 parent ea674c9 commit b7f0bf1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions geonode/security/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,6 @@ def sync_geofence_with_guardian(layer, perms, user=None, group=None):
"""
Sync Guardian permissions to GeoFence.
"""
# Cleanup old rules first
purge_geofence_layer_rules(layer.get_self_resource())

# Create new rule-set
gf_services = {}
gf_services["*"] = 'view_resourcebase' in perms or 'change_layer_style' in perms
Expand Down

0 comments on commit b7f0bf1

Please sign in to comment.