= User Management = [[TOC]] == User Registration == Depending on Deployment Settings (See: DeveloperGuidelines/UserManagement) the user may have to verify their email or be approved by an administrator. == Approve a Pending User's registration == 1. Administration > List All Users ({{{/eden/admin/user}}}) 1. Click {{{Approve}}} next to pending Users == Create a New User and Assigning Roles == 1. Administration > New User ({{{/eden/admin/user/create}}}) 1. Enter New Users Details [[Image(http://i.imgur.com/QhuAj1k.png)]][[BR]] [[BR]] A new User created by the administrator will not be automatically linked to either a Person or Human Resource record. This will have to be done explicitly, using the following instructions: == Link User to Person & Human Resource Record == 1. Administration > List All Users ({{{/eden/admin/user}}}) 1. Click {{{Link}}} next to Users (or on the User record page) 1. Edit User Details When you edit a user, changes will automatically be applied to any linked Person and Human Resource records == Edit a User == 1. Administration > List All Users ({{{/eden/admin/user}}}) 1. Click {{{Open}}} next to Users 1. Edit User Details When you edit a user, changes will automatically be applied to any linked Person and Human Resource records == Reset password from CLI == If you have CLI access to an instance, but don't know the password for an admin login then you can reset a password: {{{ w2p import hmac import hashlib alg = hashlib.sha512 hmac_key = auth.settings.hmac_key password = hmac.new(hmac_key.encode("utf-8"), "newpassword".encode("utf-8"), alg).hexdigest() table = db.auth_user db(table.email == "myemail@domain.com").update(password = password) db.commit() }}} == See Also == * UserGuidelinesRegistration * UserGuidelines/Admin * DeveloperGuidelines/UserManagement