Skip to content

erp5_authentication_policy: Include a fail safe in case the Login isn't under Person

Rafael Monnerat requested to merge cherry-pick-f7694fbc into master

Only Person could include getFirstName and getLastName, so implement a fail-safe in case Login is inside a Computer or any other document, which, is the case on SlapOS projects, where Computers and Instances are also users.

/cc @jerome

Merge request reports