Update doc (#2360)
This commit is contained in:
parent
df82d9d185
commit
e0aa1348f0
|
@ -6,8 +6,8 @@ Presentation
|
||||||
|
|
||||||
LemonLDAP::NG uses Safe jail to evaluate all expressions:
|
LemonLDAP::NG uses Safe jail to evaluate all expressions:
|
||||||
|
|
||||||
- Access rule
|
- Access rules
|
||||||
- Header
|
- Headers
|
||||||
- Form replay parameters
|
- Form replay parameters
|
||||||
- Macros
|
- Macros
|
||||||
- Groups
|
- Groups
|
||||||
|
@ -31,3 +31,19 @@ to disable it.
|
||||||
|
|
||||||
To do this, go into Manager > General Parameters > Advanced Parameters >
|
To do this, go into Manager > General Parameters > Advanced Parameters >
|
||||||
Security > Use Safe Jail and disable it.
|
Security > Use Safe Jail and disable it.
|
||||||
|
|
||||||
|
|
||||||
|
Assignment test
|
||||||
|
===============
|
||||||
|
|
||||||
|
Presentation
|
||||||
|
------------
|
||||||
|
|
||||||
|
Perl comparaisons are done by using ``eq`` for strings or ``==`` for integers.
|
||||||
|
To avoid an unwanted assignment like ``$authLevel = 5`` (BAD EXPRESSION!),
|
||||||
|
you can enable ``Avoid assignment in expressions`` option.
|
||||||
|
|
||||||
|
To do this, go into Manager > General Parameters > Advanced Parameters >
|
||||||
|
Security > Avoid assignment in expressions and enable it.
|
||||||
|
|
||||||
|
DISABLE by default.
|
Loading…
Reference in New Issue
Block a user