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

#1623 - Security Group Not inherited from Parent record on QuickCRM environment

Closed Bug? created by Lion Solution Verified Purchase 9 years ago

Hi, i'm using a SuiteCRM Version 7.1.1 (Sugar Version 6.5.16) istance,

i noticed that with QuickCRM 4.1.4, if you create a Meeting from a subpanel of an Account, or you create a Meeting and you relate it to an Account,

the Meeting record doesn't inherit the Account Security Groups even if it's checked to do so in SecuritySuite Settings.

  1. eggsurplus member avatar

    eggsurplus Provider Affiliate

    9 years ago

    Hi Mayer,

    QuickCRM has a different way of doing things so we can't officially support it. I'm not sure even where to begin with what to look at. My suggestion would be to create a logic hook to detect when it is coming from QuickCRM and then trigger the inheritance logic.

    • MayerElyashiv member avatar

      Lion Solution Verified Purchase

      9 years ago

      Ok, thank you.

      Where can i find the inheritance logic to trigger? (What function should i use?

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      9 years ago

      In SugarBean's save() it'll call SecurityGroup->inherit() which eventually calls inherit_parent where the logic is to grab the parent module and id. Then it calls SecurityGroup::inherit_parentQuery($focus, $parent_type, $parent_id, $focus_id, $focus_module_dir).

      Note: it's calling those functions as if static even though it is not defined that way. It'll work still and the functions will be defined as static in the next release.

    • bluquet member avatar

      NS-Team Verified Purchase

      9 years ago

      We work through the REST API. But you use $_REQUEST['relate_to'] and $_REQUEST['relate_id'] which are not set by the set_entry web service. As we already fix another bug in set_entry (not related to Security Suite), we will adapt our API to manage that.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      9 years ago

      There are a couple of other ways that we try to catch things coming through the API below that check. I think the biggest issue is that we are looking for API requests to come through the portal_* API and not the general API. Not your fault, of course.

      If you are able to use the relate_to/id fields though, that would work as well. Thanks for being so willing to work with us here.

    • bluquet member avatar

      NS-Team Verified Purchase

      9 years ago

      Done and tested. It works. We will publish that quite soon. FYI, besides that issue, Security Suite worked fine without us needing to do anything :-)

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      9 years ago

      Wow. Quick.

      Noted. Sorry, just unfamiliar with QuickCRM. I'll add a link to you guys on our supported 3rd party modules. Thanks!

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      9 years ago

      Added here: https://www.sugaroutfitters.com/docs/securitysuite/3rd-party-supported-modules

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
Rating
  • "Quite powerful, flexible and easy to use plugin. Works perfectly in SuiteCRM as well as in SugarCRM." - damien8105

    Read More Reviews