Page 1 of 1

Roles panel is empty and can't set role to new user

Posted: Thu Aug 22, 2019 5:54 am
by EnricoDrusiani
Greetings everyone

I've just installed Processmaker 3.2.1 on Centos 7. I'm starting to configure it and under the "USERS" Tab, on the "Roles" voice, there's no record at all.

i've tried to add some custom role, but they don't show up even if ProcessMaker tells me it has been saved correctly.

Also, when i try to add a new user, i can't select a role because the combobox is empty, thus blocking me from adding the user.

When i access the DB from a client, though, i can se that the table RBAC_ROLES has PROCESSMAKER_ADMIN, PROCESSMAKER_MANAGER, PROCESSMAKER_OPERATOR, RBAC_ADMIN and my custom roles in it. They just don't show up in the system.

Any help is very appreciated

Thanks in advance

Enrico

Re: Roles panel is empty and can't set role to new user

Posted: Thu Aug 22, 2019 11:19 pm
by amosbatto
Press F12 to turn on your web browser's debugger, and then go to Admin > Users > Roles in ProcessMaker

Then, go to the "Network" tab in the browser's debugger, and look for:
GET http://{domain}/sys{workspace}/{lang}/{skin}/roles/roles_Ajax?request=rolesList&_dc=XXXXXXXXXXXXXXX

Select it in the list and then click on "Response" to see whether all the roles are being listed:
RolesInWebDebugger.png
RolesInWebDebugger.png (268.98 KiB) Viewed 12589 times

Are all your roles listed in the response?

Re: Roles panel is empty and can't set role to new user

Posted: Fri Aug 23, 2019 9:20 am
by EnricoDrusiani
Hi Amos

Thanks for your reply
i've checked using your instruction and found that the ajax call you asked me to look for is marked with 503 Service Unavailable

http://myserver/sysworkflow/en/neoclass ... 6566119102

i've checket httpd logs, but there' s no record of it. Is there another log that could have that information?

thanks in advance

Re: Roles panel is empty and can't set role to new user

Posted: Fri Aug 23, 2019 5:32 pm
by amosbatto
Turn off SELinux in CentOS, if you haven't already done that.

Do you see the same problem when logged in as the "admin" user?

Re: Roles panel is empty and can't set role to new user

Posted: Tue May 31, 2022 11:52 am
by dariobillo
Hi all, I return on this thread because the symptoms seem very similar.
The problem is creating users, I can enter every info but the combo doesn't list the 3 roles, so the user creation process fails. I can clearly see roles in in Admin > Users > Roles, the list is correct.

Any idea? Thank you in advance