Reimplement SlapOSMachineAuthenticationPlugin and SlapOSShadowAuthenticationPlugin
The reimplementation make both complaint with ERP5LoginUserManager Include custom ERP5Type_asSecurityGroupId (Required for Computer and Software Instance usage of user_id) machine_login was renamed to external_login to be complaint with ERP5LoginUserManager On SlapOSShadowAuthenticationPlugin, the enumerateUsers contains a huge copied code from ERP5LoginUserManager, which could be be factoried in a sense in future. Update related tests and code to: - Add ERP5 Login in person, Computer and Software Instance - Set user id while create or clone objects - Update ROLES and logins (for tests) to use User ID instead reference. - Login is defined by ERP5 Login and not by object reference.
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment