#1167 - Security Group Mass Assign
I'm able to see the Security Group mass assign subpanel, but no Groups are showing up in the drop-down. The drop-down box only displays: '-none-' Screenshot
Sugar version 6.5.16 Security Suite version 2.7.1
I'm able to see the Security Group mass assign subpanel, but no Groups are showing up in the drop-down. The drop-down box only displays: '-none-' Screenshot
Sugar version 6.5.16 Security Suite version 2.7.1
9 years ago
Hello Nathan,
I have to ask this, have you created any security groups yet? If so, does the user have rights to view groups? You can verify this by going to the user record that doesn't see anything in the dropdown, click on the Access tab, and view the List rights for Security Groups Management. If set to None or Group then that may be the issue.
9 years ago
Yes, there are security groups. No roles are set up with access to Security Groups, only admin users.
9 years ago
Did this just start recently happening or is that unknown? Any recent changes, customizations, or modules installed? Anything in the sugarcrm.log or your PHP error logs around that page load?
9 years ago
I don't believe this has ever worked. This is our most heavily customized sugar instance, so it's quite possible a custom module or other customization is interfering. I'm not seeing anything in the error logs.
9 years ago
OK, thanks. I'm going to be digging around for a few other issues tonight. At the same time I'll look at what is driving the list to be populated and will follow up here with some places to look at. This is the first report of it not loading so there is a chance that it could be caused by something else and the fix may be just putting some code back into place.
9 years ago
I checked modules/SecurityGroups/AssignGroups.php and everything looks in order. The key code is on the line where it does a groupFocus->get_list check. This goes through data/SugarBean.php and the only way I can see lists not loading, if the groups do exist, is if a role is configured for Owner rights for Security Groups.
To verify, turn on full logging, load the page where the blank dropdown shows, and then check the logs to see what query is being used to pull that list. It will include "from securitygroups" somewhere in the query. There may be a few of those in the logs so you will have to identify the problem one of the bunch.
Hopefully that helps!
9 years ago
I turned on full logging, but not able to see the query that's used to pull the list. I even tried the same on a Sugar site where the drop-down is working correctly, and still not seeing the query in the logs.
9 years ago
Can you email me the sugarcrm.log after turning on full logging? solutions -@- eggsurplus -.- com. No spaces or hyphens. I may have just given you the wrong text to search for.
9 years ago
Thanks. Looked it over and that key get_list call in AssignGroups.php isn't getting triggered. I'd check that file to see if it is commented out for some reason. The rest of the panel shows so it must be getting to that file.
The other explanation is that some sort of opcode or database cache is enabled on the server. Try disabling those and see if the list then loads.
9 years ago
Just doing some housekeeping. Feel free to follow up on this if you have any other questions.