diff --git a/docs/source/configuration/authorization.rst b/docs/source/configuration/authorization.rst index 5fe4f02daf0be0db27213a11c709c0c01dd1cd29..18ddb94d49b7bb49466770a3e4f2f8f1ab3dbcf4 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 = []