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 Trial

By clicking you consent to share your profile with the developer

#4527 - Inheritance from parent record not work on code

In Progress Bug? created by juanchamizo 3 years ago
Hello, I am a Security Suite user at SuiteCRM 7.11.15, I have observed that the inheritance of the parent record works correctly when you create a record in any module (stock or custom) using the SuiteCRM interface (editview, quickcreateview ...). Occurs as expected, the new record inherits the security groups from the related records at creation time. However, when doing the same operation through code (in a logic_hook, controller, scheduler task, etc.) the inheritance mechanism of the parent record does not work. I have seen that in the code of the _SecurityGroups/SecurityGroup.php_ file, in the _inherit_parent()_ function, _$_REQUEST ['relate_to']_ and _$_REQUEST ['relate_id']_ are required, but these variables never exist when a record is created by code. Is it a bug? o Is it the intended behavior? Thanks, Juan Chamizo
  1. eggsurplus member avatar

    eggsurplus Provider Affiliate

    3 years ago

  2. juanchamizo member avatar

    juanchamizo

    3 years ago

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
Rating
  • "I can say that it has been one of the best modules within our SugarCRM CE instance!"

    Read More Reviews