From 6887a9e7e6e7b40aa309227770f5b3e7e0f4e059 Mon Sep 17 00:00:00 2001 From: David Barnes <barnesdavidj@gmail.com> Date: Fri, 8 Jul 2022 14:47:26 -0400 Subject: [PATCH] Reorganize flow of documentation for some of the auth settings. --- docs/source/configuration/authorization.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/source/configuration/authorization.rst b/docs/source/configuration/authorization.rst index 5fe4f02..18ddb94 100644 --- a/docs/source/configuration/authorization.rst +++ b/docs/source/configuration/authorization.rst @@ -31,9 +31,6 @@ Assuming ``ADMINLTE2_USE_LOGIN_REQUIRED`` is set to True, this is the list of routes that will be shown on the sidebar menu and accessible, despite a user not being logged in. -:Type: ``list`` -:Default: ``[]`` - .. note:: Even though the default value for this list is an empty list, @@ -43,6 +40,9 @@ accessible, despite a user not being logged in. Documentation. The routes defined in this setting will be appended to that default list. +:Type: ``list`` +:Default: ``[]`` + Example:: ADMINLTE2_LOGIN_EXEMPT_WHITELIST = [] @@ -76,9 +76,6 @@ Assuming ``ADMINLTE2_USE_STRICT_POLICY`` is set to True, this is the list of routes that will be shown on the sidebar menu and accessible, despite said routes having no defined permission. -:Type: ``list`` -:Default: ``[]`` - .. note:: Even though the default value for this list is an empty list, @@ -88,6 +85,9 @@ accessible, despite said routes having no defined permission. Documentation. The routes defined in this setting will be appended to that default list. +:Type: ``list`` +:Default: ``[]`` + Example:: ADMINLTE2_STRICT_POLICY_WHITELIST = [] -- GitLab