Переглянути джерело

[release] v0.10.0-unstable14

Yann Stepienik 1 рік тому
батько
коміт
ef37940742
2 змінених файлів з 8 додано та 1 видалено
  1. 7 0
      client/src/pages/config/routes/routeman.jsx
  2. 1 1
      package.json

+ 7 - 0
client/src/pages/config/routes/routeman.jsx

@@ -72,6 +72,7 @@ const RouteManagement = ({ routeConfig, routeNames, config, TargetContainer, noC
           StripPathPrefix: routeConfig.StripPathPrefix,
           AuthEnabled: routeConfig.AuthEnabled,
           _SmartShield_Enabled: (routeConfig.SmartShield ? routeConfig.SmartShield.Enabled : false),
+          RestrictToConstellation: routeConfig.RestrictToConstellation,
         }}
         validationSchema={ValidateRouteSchema}
         onSubmit={async (values, { setErrors, setStatus, setSubmitting }) => {
@@ -256,6 +257,12 @@ const RouteManagement = ({ routeConfig, routeNames, config, TargetContainer, noC
                     label="Smart Shield Protection"
                     formik={formik}
                   />
+                  
+                  <CosmosCheckbox
+                    name="RestrictToConstellation"
+                    label="Restrict access to Constellation VPN"
+                    formik={formik}
+                  />
                 </Grid>
               </MainCard>
               {submitButton && <MainCard ><Button

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "cosmos-server",
-  "version": "0.10.0-unstable13",
+  "version": "0.10.0-unstable14",
   "description": "",
   "main": "test-server.js",
   "bugs": {