Ask questions about your install or get help installing and configuring ProcessMaker 2

Moderator: amosbatto

By Kamil123
#784394
Hello everyone,
I want to give users ability to change their password by himself,
I had edited the default role and added the PM_EditePersonalInfo Permission, to enable users from changing the password!
but I discovered that the user now can edit their Names! and I dont want to allow them to do that, So what is the best way to do that?
Can I edit the PHP source code and make the name's field is Read Only field?
If yes, which file name I have to Edit?
I'm using V 2.8 edition
Thanks
By dlynch
#784580
Have you looked into syncing to active directory? That way, when they change the PW on AD, it will update processmaker as well. The other option would be to enable "forgot Password" in the settings.
By Kamil123
#784581
Hi dlynch,
Finally find someone interact with me, Thank you.
Actually I'm using ProcessMaker as standalone application and no linking with Active Directory, I Only want to prevent them from changing their First and Last Name, but in vain :(
User avatar
By erpnedir
#784590
Hi Kamil,
How about creating a one step process and adding a simple form including just the new password?
You can update the USERS table with a trigger. Keep in mind that the pass should be md5 hashed.
#788956
Helo Kamil,

I already have this code implemented in my environment, this is the code where you can configure it, this change will affect the code in ProcessMaker:
1. Go to processmaker/workflow/engine/templates/users/
2. Open users.js
3. Add this code inside the function "disableAndReadOnly(idElement)"
- Ext.getCmp("USR_FIRSTNAME").disable();
4. Save it
5. Clean ProcessMaker cache and the browser, too.
6. Open the user edit window

Here you can check that your first field is disabled. Hope i help you.

Greetings.
Attachments
UserDisableField.png
UserDisableField.png (89.61 KiB) Viewed 3508 times
printer not connecting

I have a hp printer. I decided to connect my hp pr[…]

Send information from PM to SAP

Hi team, i have a question, is possible send info[…]

Subprocesso

Olá, alguém pode me ajudar na utiliz[…]

I am trying to make file upload field mandatory u[…]