I want to implement user verification in ldap module in PKP.
– If user exists in ldap and not exists in local user table – add user with ldap credentials and assign author (reviewer) role (s) and permit login (new user).
– If user exists in local table and he/she was changed the password in ldap, update the password in local table and permit login (updated user).
– If user exists in local table, permit login.
– If user does not exists in ldap and in local table, register new.
Maybe whos can explain howto create/update user and assign role programmatically in PKP (OMP)?
Howto change the “affiliation” text field to select list in user register form? Maybe the PKP(OMP) has some forms API (like drupal for example)? :slight_smile