Skip to content

Commit d9bf686

Browse files
committed
fix: allow_view_data à false par défaut #751
1 parent 491202d commit d9bf686

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

assets/entrepot/pages/service/common/default-values.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export const getWfsServiceFormDefaultValues = (
104104
service_name: metadata?.csw_metadata?.title ?? storedDataName,
105105
creation_date: now,
106106
resource_genealogy: "",
107+
allow_view_data: false,
107108
};
108109
}
109110

@@ -137,6 +138,7 @@ export const getWmsVectorServiceFormDefaultValues = (
137138
share_with,
138139
attribution_text: offering?.configuration.attribution?.title,
139140
attribution_url: offering?.configuration.attribution?.url,
141+
allow_view_data: false,
140142
};
141143
} else {
142144
const suffix = getEndpointSuffix(EndpointTypeEnum.WMSVECTOR);
@@ -150,6 +152,7 @@ export const getWmsVectorServiceFormDefaultValues = (
150152
service_name: metadata?.csw_metadata?.title ?? storedDataName,
151153
creation_date: now,
152154
resource_genealogy: "",
155+
allow_view_data: false,
153156
};
154157
}
155158

@@ -181,6 +184,7 @@ export const getPyramidVectorTmsServiceFormDefaultValues = (
181184
share_with,
182185
attribution_text: offering?.configuration.attribution?.title,
183186
attribution_url: offering?.configuration.attribution?.url,
187+
allow_view_data: false,
184188
};
185189
} else {
186190
const suffix = getEndpointSuffix("tms");
@@ -193,6 +197,7 @@ export const getPyramidVectorTmsServiceFormDefaultValues = (
193197
service_name: metadata?.csw_metadata?.title ?? storedDataName,
194198
creation_date: now,
195199
resource_genealogy: "",
200+
allow_view_data: false,
196201
};
197202
}
198203

0 commit comments

Comments
 (0)