No more logs Session granted for *
As stated by the documentation:
https://lemonldap-ng.org/documentation/2.0/logs.html#user-log-samples
we should have a log displaying the user logged and his IP address:
[notice] Session granted for dwho by LDAP (81.20.13.21)
However, now, the log is managed by the GrantSession plugin, which is not enabled by default, as in configuration we have:
'grantSessionRules' => {}
and empty hash is considered as disabled.
This issue is just to discuss the desired behaviour:
- set a default value:
'grantSessionRules' => {
'always allowed##default_rule' => 1
}
- fix the documentation to indicate that there is no log by default, except if the admin set a grantSessionRule