From e0192cad79cf4364e48d782786032dac0c02b2e2 Mon Sep 17 00:00:00 2001 From: Deepak Prabhakara Date: Tue, 17 Jun 2025 16:11:49 +0100 Subject: [PATCH 1/4] added docs for new env var in Polis - ADMIN_PORTAL_HIDE_DIRECTORY_SYNC --- docs/polis/deploy/env-variables.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/polis/deploy/env-variables.mdx b/docs/polis/deploy/env-variables.mdx index 5f1cf7a35..f54552718 100644 --- a/docs/polis/deploy/env-variables.mdx +++ b/docs/polis/deploy/env-variables.mdx @@ -427,6 +427,12 @@ denied to email addresses which don't match. If you don't specify any value acce Set this to a comma separated string of the pattern `email:password` to enable login to the Admin Portal, for example `NEXTAUTH_ADMIN_CREDENTIALS=deepak@ory.sh:Password123`. If you don't specify any value access is denied to all. +### **ADMIN_PORTAL_HIDE_DIRECTORY_SYNC** + +Set this to `true` if you want to hide the Directory Sync product in the sidebar. + +Default: `false` + ### **ADMIN_PORTAL_HIDE_AUDIT_LOGS** Set this to `true` if you want to hide the Audit Logs product in the sidebar. From bc9e9d2153a0ef596f2095364f58a1fa2cbf4a5c Mon Sep 17 00:00:00 2001 From: Deepak Prabhakara Date: Tue, 24 Jun 2025 11:45:26 +0100 Subject: [PATCH 2/4] cleanup of ADMIN_PORTAL_HIDE_AUDIT_LOGS, tweaked text for NEXTAUTH_ACL --- docs/polis/deploy/env-variables.mdx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/polis/deploy/env-variables.mdx b/docs/polis/deploy/env-variables.mdx index f54552718..20a3bfdc4 100644 --- a/docs/polis/deploy/env-variables.mdx +++ b/docs/polis/deploy/env-variables.mdx @@ -420,7 +420,7 @@ email verification token. More details [here](https://next-auth.js.org/configura ### **NEXTAUTH_ACL** Set this to a comma separated string of email addresses or glob patterns like: `tonystark@gmail.com,*@marvel.com`. Access will be -denied to email addresses which don't match. If you don't specify any value access is denied to all. +denied to email addresses which don't match. If you don't specify any value access is denied to all and magic links is turned off. ### **NEXTAUTH_ADMIN_CREDENTIALS** @@ -433,12 +433,6 @@ Set this to `true` if you want to hide the Directory Sync product in the sidebar Default: `false` -### **ADMIN_PORTAL_HIDE_AUDIT_LOGS** - -Set this to `true` if you want to hide the Audit Logs product in the sidebar. - -Default: `false` - ### **ADMIN_PORTAL_HIDE_IDENTITY_FEDERATION** Set this to `true` if you want to hide the Identity Federation product in the sidebar. From 367f78c109be36af6964600db5531963b2e290a3 Mon Sep 17 00:00:00 2001 From: Vincent Date: Wed, 30 Jul 2025 10:30:59 +0200 Subject: [PATCH 3/4] chore: apply suggestions from code review --- docs/polis/deploy/env-variables.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/polis/deploy/env-variables.mdx b/docs/polis/deploy/env-variables.mdx index 20a3bfdc4..da77dca3a 100644 --- a/docs/polis/deploy/env-variables.mdx +++ b/docs/polis/deploy/env-variables.mdx @@ -420,7 +420,7 @@ email verification token. More details [here](https://next-auth.js.org/configura ### **NEXTAUTH_ACL** Set this to a comma separated string of email addresses or glob patterns like: `tonystark@gmail.com,*@marvel.com`. Access will be -denied to email addresses which don't match. If you don't specify any value access is denied to all and magic links is turned off. +denied to email addresses which don't match. If you don't specify any value access is denied to all and magic links are turned off. ### **NEXTAUTH_ADMIN_CREDENTIALS** From ca10eb269d913e3c8a2006dfae12a116d3d046b9 Mon Sep 17 00:00:00 2001 From: Deepak Prabhakara Date: Wed, 30 Jul 2025 09:46:28 +0100 Subject: [PATCH 4/4] format --- docs/polis/deploy/env-variables.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/polis/deploy/env-variables.mdx b/docs/polis/deploy/env-variables.mdx index da77dca3a..147656ad8 100644 --- a/docs/polis/deploy/env-variables.mdx +++ b/docs/polis/deploy/env-variables.mdx @@ -420,7 +420,8 @@ email verification token. More details [here](https://next-auth.js.org/configura ### **NEXTAUTH_ACL** Set this to a comma separated string of email addresses or glob patterns like: `tonystark@gmail.com,*@marvel.com`. Access will be -denied to email addresses which don't match. If you don't specify any value access is denied to all and magic links are turned off. +denied to email addresses which don't match. If you don't specify any value access is denied to all and magic links are turned +off. ### **NEXTAUTH_ADMIN_CREDENTIALS**