Hi, I hope someone will be able to help me out. I’m having this really weird issue. I am using the latest SuiteCRM version. The users are not able to run campaigns from their accounts.
The email outbound account field is empty on the Campaigns -> Marketing tab .
The permissions are fine for these users and users are able to view and send emails from the Email module.
I’m not sure what’s missing. Debug doesn’t show any errors. The admin can view and select outbound email account without any issues on the campaigns.
I have tried to search for this error online, but not getting any proper answers or resolutions. I would appreciate it if someone can guide me in getting rid of this issue. I don’t want to assign users with Admin role just to resolve this issue. Does anyone else has experienced the same issue?
hmmm, I wouldn’t expect there to be any sort of admin-only restriction here
I’d given it a try on SuiteCRM 7.11.18, and I’m currently able to see the Outgoing Email Accounts, when logged in as a non-admin:
So i’ve got some quick questions:
What version of SuiteCRM are you on?
What version of PHP are you using?
Are the afflicted users in any Security Groups / Roles for either the Campaigns/Emails modules?
It might be a stretch, but it could be worth resetting the file/folder permissions, to ensure access is available where expected.
We recommend:
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload
sudo chown -R www-data:www-data .
(replacing www-data with whatever your web server user is)
As well as running a Quick Repair and Rebuild
(Admin->Repair)
Ok, I have tried what you asked me, but it didn’t resolve the issue. It’s still show empty field. my server php version is 7.2.34 and yes, the users are in the Security Group.
I’ve also checked the my log again, I’m getting following errors.
[384][1][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
Tue Feb 23 19:02:46 2021 [3341][1][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
Tue Feb 23 19:02:49 2021 [3341][1][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
Tue Feb 23 19:02:49 2021 [3341][1][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
Tue Feb 23 19:03:30 2021 [384][7cb63a54-93dd-4e64-84f7-5fd957f86501][FATAL] SugarBean::populateDefaultValues $field_defs should be an array
Yes, if the users are not in any security group then it works. So I guess it’s a permission issue. But I want these users to be in the security group so they don’t have access to everything.
I can try making a new security group and see if that helps.
Finally, I was able to resolve this issue. Thanks for leading me in the right direction.
I assigned the user to another security role and that resolves the issue immediately. I matched the permissions for both security roles and the only difference I found was that the Outbound Email Accounts was enabled (with owner permissions) on the security role which was having the issue. So I disabled it and now I’m able to set campaigns without any issues . What does this setting mean?
Thanks again for all your help. Hope this helps someone else if they ever ran into this issue.