Improve doc
This commit is contained in:
parent
97021346ee
commit
3fc401bf79
|
@ -51,13 +51,20 @@ portal:
|
|||
- macros are used to extend (or rewrite)
|
||||
:doc:`exported variables<exportedvars>`. A macro is stored as
|
||||
attributes: it can contain boolean results or any string
|
||||
- macros can also be used to import environment variables *(these
|
||||
- macros can also be used for importing environment variables *(these
|
||||
variables are in CGI format)*. Example: ``$ENV{HTTP_COOKIE}``
|
||||
- groups are stored as a string with values separated by ''; ''
|
||||
(default values separator) in the special attribute ``groups``: it
|
||||
contains the names of groups whose rules were returned true for the
|
||||
(default multivalues separator) in the special attribute ``groups``: it
|
||||
contains names of groups whose rules were returned true for the
|
||||
current user. For example:
|
||||
|
||||
.. danger::
|
||||
|
||||
Macros can be used for rewriting or overloading exported variables
|
||||
but it can lead to some side effects. Be aware of alphabetical order
|
||||
and keep in mind that exported variables are set. Then macros and
|
||||
groups are computed.
|
||||
|
||||
.. code-block:: perl
|
||||
|
||||
$groups = group3; admin
|
||||
|
|
|
@ -361,7 +361,7 @@ Password Policy
|
|||
- **Minimal upper characters**: leave 0 to bypass the check
|
||||
- **Minimal digit characters**: leave 0 to bypass the check
|
||||
- **Minimal special characters**: leave 0 to bypass the check
|
||||
- **Allowed special characters**: set '__ALL__' value to allow ALL special characters. A blanck value forbids ALL special characters (Note that ``_`` is not a special character)
|
||||
- **Allowed special characters**: set '__ALL__' value to allow ALL special characters. A blank value forbids ALL special characters (Note that ``_`` is not a special character)
|
||||
|
||||
.. _portalcustom-other-parameters:
|
||||
|
||||
|
|
Loading…
Reference in New Issue