@opengis/gis 0.2.105 → 0.2.107
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.
package/package.json
CHANGED
|
@@ -19,14 +19,30 @@ export default async function getPermissions({ pg, uid }) {
|
|
|
19
19
|
select
|
|
20
20
|
group_id
|
|
21
21
|
from gis.services
|
|
22
|
-
where
|
|
22
|
+
where is_active
|
|
23
23
|
and service_id = any(b.layer_list)
|
|
24
|
+
|
|
24
25
|
union all
|
|
26
|
+
|
|
25
27
|
select
|
|
26
28
|
group_id
|
|
27
29
|
from gis.ogc_service
|
|
28
30
|
where enabled and
|
|
29
31
|
ogc_service_id = any(b.layer_list)
|
|
32
|
+
|
|
33
|
+
union all
|
|
34
|
+
|
|
35
|
+
select group_id
|
|
36
|
+
from gis.rasters
|
|
37
|
+
where is_active and
|
|
38
|
+
raster_id = any(b.layer_list)
|
|
39
|
+
|
|
40
|
+
union all
|
|
41
|
+
|
|
42
|
+
select group_id
|
|
43
|
+
from gis.cartocss
|
|
44
|
+
where enabled and
|
|
45
|
+
cartocss_id = any(b.layer_list)
|
|
30
46
|
)q
|
|
31
47
|
where group_id in (
|
|
32
48
|
select group_id
|