From df39b81e40911f93b215656b546996c5aa38bd2f Mon Sep 17 00:00:00 2001 From: Noah Lancien Date: Mon, 12 Jan 2026 12:40:48 +0100 Subject: [PATCH] feat: updated admin-secure --- .env.example | 8 ++++++-- composer.json | 2 +- composer.lock | 27 ++++++++++++--------------- manifest.yaml | 2 +- 4 files changed, 20 insertions(+), 19 deletions(-) diff --git a/.env.example b/.env.example index 5eb3475..6b25505 100644 --- a/.env.example +++ b/.env.example @@ -45,8 +45,12 @@ GOOGLE_RECAPTCHA_PUBLIC= GOOGLE_RECAPTCHA_PRIVATE= GOOGLE_RECAPTCHA_VERSION= -# Admin secure -LDC_WEB_API_KEY= +# UWIL ADMIN SECURE +# - LIST SEPARATED WITH ',' (Required) +UWIL_ADMIN_SECURE_CIDR_LIST="" +# - LIST SEPARATED WITH ',' (Optional) +UWIL_ADMIN_SECURE_CIDR_PROJECT_ALLOWED_LIST="" + # SAML SAML2_DEFAULT_TENANT_UUID= diff --git a/composer.json b/composer.json index f088d83..fc20daa 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "laravel/ui": "^4.2", "mews/purifier": "^3.4", "sentry/sentry-laravel": "*", - "uwil/admin-secure-laravel": "^3.0", + "uwil/admin-secure-laravel": "^5.0", "uwil/k8s-laravel": "^1.2", "uwil/seo-laravel": "^3.0", "uwil/sitemap-generator": "^3.0" diff --git a/composer.lock b/composer.lock index 0b6a575..a7d2e53 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d40ecb6782259f44460e61322fe17b65", + "content-hash": "6a8d38c6efa000a3a7219060ddd32ec2", "packages": [ { "name": "24slides/laravel-saml2", @@ -7327,22 +7327,22 @@ }, { "name": "uwil/admin-secure-laravel", - "version": "3.0.0", + "version": "5.0.0", "source": { "type": "git", "url": "git@lab.s-web.fr:ldc-web/projets/ldc-web-admin-secure-laravel.git", - "reference": "6bf17bd7a45b2bdc3a86cef381a86e77bc339469" + "reference": "7d9c052db4318752a312dc9763bc8c31ea053aa2" }, "dist": { "type": "zip", - "url": "https://lab.s-web.fr/api/v4/projects/20/packages/composer/archives/uwil/admin-secure-laravel.zip?sha=6bf17bd7a45b2bdc3a86cef381a86e77bc339469", - "reference": "6bf17bd7a45b2bdc3a86cef381a86e77bc339469", + "url": "https://lab.s-web.fr/api/v4/projects/20/packages/composer/archives/uwil/admin-secure-laravel.zip?sha=7d9c052db4318752a312dc9763bc8c31ea053aa2", + "reference": "7d9c052db4318752a312dc9763bc8c31ea053aa2", "shasum": "" }, "require": { "dxw/cidr": "^3.2", - "illuminate/support": "~11", - "laravel/framework": "~11", + "illuminate/support": "~11|~12", + "laravel/framework": "~11|~12", "php": "^8.3", "symfony/options-resolver": "^7.0" }, @@ -7383,14 +7383,11 @@ "license": [ "MIT" ], - "authors": [ - { - "name": "Equipe Web", - "email": "equipe.web@ldc.fr", - "homepage": "https://www.ldc.fr" - } - ], - "description": "Restrict access to LDC Network" + "description": "Restrict access to LDC Network", + "support": { + "email": "digital@ldc.fr", + "issues": "https://lab.s-web.fr/ldc-web/projets/ldc-web-admin-secure-laravel/-/issues" + } }, { "name": "uwil/k8s-laravel", diff --git a/manifest.yaml b/manifest.yaml index ab903f6..0c6ef97 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -33,7 +33,7 @@ data: SAML2_CONTACT_TECHNICAL_EMAIL: "${APP_SAML2_CONTACT_TECHNICAL_EMAIL}" SAML2_CONTACT_SUPPORT_EMAIL: "${APP_SAML2_CONTACT_SUPPORT_EMAIL}" SAML2_DEFAULT_TENANT_UUID: "${APP_SAML2_DEFAULT_TENANT_UUID}" - + UWIL_ADMIN_SECURE_CIDR_LIST: "${APP_GLOBAL_UWIL_ADMIN_SECURE_CIDR_LIST}" --- apiVersion: v1