by eggsurplus

Control what your users can access and save time, money, and frustrations. Lock down sensitive data in SugarCRM or SuiteCRM to specific groups or teams. Supports unlimited assigned users, unlimited group assignments to records, custom layouts for each group, login/sudo capabilities and much more.

Free 30 day trial
Try it Now

#1167 - Security Group Mass Assign

Closed Bug? created by nathan1 Verified Purchase 4 years ago

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

  1. eggsurplus member avatar

    eggsurplus Provider Affiliate

    4 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.

  2. nathan1 member avatar

    nathan1 Verified Purchase

    4 years ago

    Yes, there are security groups. No roles are set up with access to Security Groups, only admin users.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      4 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?

  3. nathan1 member avatar

    nathan1 Verified Purchase

    4 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.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      4 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.

  4. eggsurplus member avatar

    eggsurplus Provider Affiliate

    4 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!

    • nathan1 member avatar

      nathan1 Verified Purchase

      4 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.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      4 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.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      4 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.

  5. eggsurplus member avatar

    eggsurplus Provider Affiliate

    4 years ago

    Just doing some housekeeping. Feel free to follow up on this if you have any other questions.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
Rating
  • "The features are exactly what is needed to turn a SugarCRM CE into a Teams based CRM."

    Read More Reviews

Keep up to date on the latest additions

We'll send you an email every month with handpicked add-ons, reviews, tricks and tips. Don't worry, we hate spam as much as you do.