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

By clicking you consent to share your profile with the developer

#237 - Custom Modules in SugarCRM 6.5.9 and Security Suite

Closed Bug? created by Bill Convis DBA SierraCRM Verified Purchase 8 years ago

Hi Jason, Working with Pete at FA in Minn. They have Sugar 6.5.9 and Security Suite. Custom module representing Vehicles. Have used the Hookup Module to setup Security Groups to this custom Module, but do not see the Subpanel in the Module. Ran Rebuild Relationships and Quick Repair and Rebuild. Still no entry in /custom/modules/vehl_vehicles/ext/vardefs/vardefs.ext.php. Do I need to manually setup a relationship between the two? We have had permissions issues in the past with our new server - so am looking into this. But the hook up module should do this for us , correct?

Thanks Bill Convis

  1. eggsurplus member avatar

    eggsurplus Provider Affiliate

    8 years ago

    Hookup module should do it all for you including creating a relationship for you. A subpanel may not show if it is configured to be hidden in the show/hide modules/subpanels configuration area or if the user does not have permissions to that subpanel module. You can check custom/metadata to see if the relationship has been created.

    • bconvis member avatar

      Bill Convis DBA SierraCRM Verified Purchase

      8 years ago

      Hi Folks, I am logged in as an admin. I do see Security Groups in all the core modules as subpanels. I see all the core module in the modules column in the table securitygroups_records. When running hookup module for our custom module, I do not see any errors. Just nothing is happening. Reviewing the file vardefs.ext.php in custom/modules/Vehcl_Vehicles/Ext/Vardefs shows no additional link array for Security Groups. Any idea what could be going on? All permissions for custom folder are good. Can I manually add the relationship in studio?

      Thanks Bill Convis SierraCRM - 530 272 3064

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      8 years ago

      You can manually add the relationship, but make sure you manually edit the code for the relationship metadata so that it looks at the securitygroups_records table instead. More info on how to do that can be found in this pdf:

      Do not copy/paste that code as there are junk characters in it.

      Did you confirm that the relationship got created by the Hookup tool in custom/metadata?

  2. PeteT1 member avatar


    8 years ago

    Thanks for the help, Jason. Bill was able to get this figured out.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
  • "It works perfectly :) I had some problems when i started using it, but with some help from the team of Sugar Outfitters, everything is fine and workin..." - joaninhafonseca

    Read More Reviews