c2cgeoportal-geoportal 2.9.0.217__py3-none-any.whl → 2.9.0.220__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- c2cgeoportal_geoportal/views/theme.py +10 -1
- {c2cgeoportal_geoportal-2.9.0.217.dist-info → c2cgeoportal_geoportal-2.9.0.220.dist-info}/METADATA +1 -1
- {c2cgeoportal_geoportal-2.9.0.217.dist-info → c2cgeoportal_geoportal-2.9.0.220.dist-info}/RECORD +6 -6
- {c2cgeoportal_geoportal-2.9.0.217.dist-info → c2cgeoportal_geoportal-2.9.0.220.dist-info}/WHEEL +0 -0
- {c2cgeoportal_geoportal-2.9.0.217.dist-info → c2cgeoportal_geoportal-2.9.0.220.dist-info}/entry_points.txt +0 -0
- {c2cgeoportal_geoportal-2.9.0.217.dist-info → c2cgeoportal_geoportal-2.9.0.220.dist-info}/top_level.txt +0 -0
@@ -402,7 +402,16 @@ class Theme:
|
|
402
402
|
mixed: bool = True,
|
403
403
|
) -> tuple[dict[str, Any] | None, set[str]]:
|
404
404
|
errors: set[str] = set()
|
405
|
-
layer_info = {
|
405
|
+
layer_info = {
|
406
|
+
"id": layer.id,
|
407
|
+
"name": layer.name,
|
408
|
+
"public": (
|
409
|
+
layer.public
|
410
|
+
or self.request.get_organization_role("anonymous")
|
411
|
+
in [r.name for ra in layer.restrictionareas for r in ra.roles]
|
412
|
+
),
|
413
|
+
"metadata": self._get_metadata_list(layer, errors),
|
414
|
+
}
|
406
415
|
if re.search("[/?#]", layer.name):
|
407
416
|
errors.add(f"The layer has an unsupported name '{layer.name}'.")
|
408
417
|
if layer.geo_table:
|
{c2cgeoportal_geoportal-2.9.0.217.dist-info → c2cgeoportal_geoportal-2.9.0.220.dist-info}/RECORD
RENAMED
@@ -171,7 +171,7 @@ c2cgeoportal_geoportal/views/proxy.py,sha256=XxOGR8Snqrd1CKkUiK4IjavCR8PiUsd3tlE
|
|
171
171
|
c2cgeoportal_geoportal/views/raster.py,sha256=kY6rYo4SxQP9JLbsq3_kdWdbaTVkdQDdpjrG9lUtAIM,9242
|
172
172
|
c2cgeoportal_geoportal/views/resourceproxy.py,sha256=pcHwU6hAXHeh_Ef6tuHxpRzGje8nqVKUxyZwZKOPCjI,3189
|
173
173
|
c2cgeoportal_geoportal/views/shortener.py,sha256=7_yQYPhtm-ddCLILnh2c0_WCgUq1D3bLhgyscGuTGUg,6530
|
174
|
-
c2cgeoportal_geoportal/views/theme.py,sha256=
|
174
|
+
c2cgeoportal_geoportal/views/theme.py,sha256=GKIIkpPecz0adZyJG4XEJ6J6XB-q2R7AP7SCYKxY51o,56123
|
175
175
|
c2cgeoportal_geoportal/views/tinyowsproxy.py,sha256=_wPN1Vfo4RNcCQ1xRPU_funie7mDPocL-ox_4hlF1-Y,8178
|
176
176
|
c2cgeoportal_geoportal/views/vector_tiles.py,sha256=2bF3j6WvOpXAJULsEfy7pfeUBeKVheMlcUOWzHVow90,3575
|
177
177
|
tests/__init__.py,sha256=QJY_VGdOehpa3uMdeiF0boDPvH8BVgxPWJRzyDTcvwA,3826
|
@@ -187,8 +187,8 @@ tests/test_mapserverproxy_route_predicate.py,sha256=SzILSSzIuilzIkUYVPZiVzLwW1du
|
|
187
187
|
tests/test_raster.py,sha256=82NJ2MXgZlMqs0ytN-VgNw376iURdk4PkAg__dyh5ns,11948
|
188
188
|
tests/test_wmstparsing.py,sha256=xjA8nJuXFl3H5Bfs4sJw_8qX8E8qvAALK7Hs2-DTP2A,9054
|
189
189
|
tests/xmlstr.py,sha256=rkTKSU4FGjupBKLx75H8o-goB0KbQrxDvdpc6xVX_uQ,5985
|
190
|
-
c2cgeoportal_geoportal-2.9.0.
|
191
|
-
c2cgeoportal_geoportal-2.9.0.
|
192
|
-
c2cgeoportal_geoportal-2.9.0.
|
193
|
-
c2cgeoportal_geoportal-2.9.0.
|
194
|
-
c2cgeoportal_geoportal-2.9.0.
|
190
|
+
c2cgeoportal_geoportal-2.9.0.220.dist-info/METADATA,sha256=F_ZpQh3xVslORf2kK4b-FrgWI3bWAnaCzyitIqMy5eU,1923
|
191
|
+
c2cgeoportal_geoportal-2.9.0.220.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
192
|
+
c2cgeoportal_geoportal-2.9.0.220.dist-info/entry_points.txt,sha256=3dnX260FsLX_AubeNMdyeta_z1X4CxcD3steAlfPx2I,1414
|
193
|
+
c2cgeoportal_geoportal-2.9.0.220.dist-info/top_level.txt,sha256=PJIbY7Nx51dDrJ052f5mDA7c6Tehm5aD-Gb32L_CtJA,29
|
194
|
+
c2cgeoportal_geoportal-2.9.0.220.dist-info/RECORD,,
|
{c2cgeoportal_geoportal-2.9.0.217.dist-info → c2cgeoportal_geoportal-2.9.0.220.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|