by eggsurplus

Control what your users can access and save time, money, and frustrations. Lock down sensitive data in 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.

Cancel at any time!
Free Trial

#5494 - How to enable 'Hookup Module' for system modules?

Closed General Question created by alexteixeira Verified Purchase 2 months ago

Hello. I am trying to use the 'Hookup Module' function, but I noticed that not all modules are listed. For the available modules, I was able to apply it, and it is working perfectly. However, for example, I would like to insert security groups control in the Invoices and Quotes modules. These modules are not listed. Is there a way to fix this? Do I need to edit any file on the server to enable it?

  1. eggsurplus member avatar

    eggsurplus Provider Affiliate

    2 months ago

    Great question. If some stock/core modules just don't work right they need a little rewiring. I'm not sure why, but here is how to get those 2 right.

    Edit modules/AOS_Invoices/vardefs.php. Change the very last line to this (removes security_groups):

    VardefManager::createVardef('AOS_Invoices', 'AOS_Invoices', array('basic', 'assignable'));
    

    Save

    Edit modules/AOS_Quotes/vardefs.php. Change the very last line to this (removes security_groups):

    VardefManager::createVardef('AOS_Quotes', 'AOS_Quotes', array('basic', 'assignable'));
    

    Save

    Run a Quick Repair & Rebuild

    These 2 modules should now show in the Hookup Module tool.

    Hope this helps!

    • alexteixeira member avatar

      alexteixeira Verified Purchase

      2 months ago

      Thank you for the support! It worked.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      2 months ago

      Great! Thanks for confirming.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
  • "The add-on itself was already a must for my SuiteCRM, which was missing this very important security feature. However, what surprised me the most was ..." - Davint

    Read More Reviews