Skip to content

Commit

Permalink
Explicitly write queryable=False in layerinfo is restricted
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Apr 10, 2024
1 parent b549ed9 commit a8cbce0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config_generator/feature_info_service_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,15 +332,15 @@ def additional_wms_permissions(self, role):
info_layer_restricted_for_public
and not info_layer_permitted_for_role
):
continue
queryable = False

# NOTE: use ordered keys
wms_layer = OrderedDict()
wms_layer['name'] = info_layer

wms_layer['queryable'] = queryable
# info template always permitted
wms_layer['info_template'] = True
wms_layer['info_template'] = True and queryable

# Only append layer if not already appended for public
if is_public_role:
Expand Down

0 comments on commit a8cbce0

Please sign in to comment.