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

#2618 - Hookup module - Not finding my custom module

Closed Bug? created by taufiqueahmed Verified Purchase 8 years ago

Hi there

Suite CRM 7.7.6

I have created a custom module and deployed it

I would like this to have a security group limit on this

When going into Hookup my module is not in the list?

I have ran Quick repair, relationships and role.

Is there anything I need to do additionally?

Thanks in advanced ;0

  1. eggsurplus member avatar

    eggsurplus Provider Affiliate

    8 years ago

    The SuiteCRM 7.7.6 release for SecuritySuite has not been released yet. When it is, do be sure to install it.

    For the Hookup Tool, it will not show if a relationship already exists. I have found that Studio/Module Builder is creating that relationship both automatically and incorrectly. It needs to be manually removed. It will then show in the dropdown once it has been removed correctly.

    This guide explains how to manually remove a relationship in Sugar/SuiteCRM: http://www.ricardomalla.com/?p=996

  2. taufiqueahmed member avatar

    taufiqueahmed Verified Purchase

    8 years ago

    Thanks for your help, we will try that now :)

  3. taufiqueahmed member avatar

    taufiqueahmed Verified Purchase

    8 years ago

    Hi There

    Looking into the relationships on Studio it has nothing between custom module and security groups

    The only reference to this relationship is within cache?

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      8 years ago

      Perhaps it is in the cache and in the relationships database table. Try removing both or do a Repair Relationships. It may remove it for you. I'm unfamiliar with your install, but somewhere it is defined.

  4. taufiqueahmed member avatar

    taufiqueahmed Verified Purchase

    8 years ago

    HI there I have now investigated this and we need further support to resolve this issue, are you able to connect?

    We have ran a quick rebuild / relationships and it does not solve this

    When going into studio I can now see the relationship between the custom module and Security Groups from both modules relationships view

    But where you have indicated I go to remove the relationship there is nothing to be found?

    When searching for "securitygroups_pc_participant_costs" which is the relationship stated inside studio, the only results that are found in cache?

    If you are available to connect & look for yourself?!

    Any help & advice is welcome, we have 100 users waiting to use this system and we have 4 custom modules that we are unable to secure with the plugin.

    Thanks

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      8 years ago

      The relationship must exist somewhere in the filesystem. While I can't work directly on your system to get this straightened out, I can recommend folks who are well qualified at fixing this exact issue. I will send you an email shortly here.

  5. eggsurplus member avatar

    eggsurplus Provider Affiliate

    7 years ago

    Were you able to figure this out? I do notice that SuiteCRM is creating the relationship incorrectly for modules created via Module Builder which would mean that you would need to clean up what SuiteCRM did during that deploy. I'm working on a fix for future releases which will be included in the 2.9.5 release.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      7 years ago

      This is fixed for the future 2.9.5 release, but it will only apply to future modules built in Module Builder. To fix existing modules deployed by Module Builder:

      • Edit the vardefs.php for that module
      • Remove 'security_groups' from the VardefManager::createVardef call
      • Run Quick Repair & Rebuild a couple of times
      • Go to Admin->Hookup Module
      • Choose your module and click OK
      • Run Quick Repair & Rebuild for good measure

      It should now show the subpanel correctly.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
Rating
  • "Good product, but we need to support 'Quick Create' feature. and raised up this request to your page." - lcyang

    Read More Reviews