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.

Cancel at any time!
Free Trial

#528 - Security Suite - SOAP API

Closed Bug? created by Pravin Verified Purchase 6 years ago

Hi ,
I have been extensively using SecuritySuite in our soap calls it works as desired. but then when we try to create any record through SOAP service it dose not add the users security group.

but we noticed when we login to sugarcrm new records they get assigned to their respective groups and we need the same functionality in soap services

need help and inputs to achieve this.

Thanks,
Pravin

  1. eggsurplus member avatar

    eggsurplus Provider Affiliate

    6 years ago

    The inheritance options should be working via the SOAP calls, too. What inheritance options are you using that seem not to work with SOAP?

    -Jason

  2. Pravin member avatar

    Pravin Verified Purchase

    6 years ago

    Currently i have     "Inherit from Parent Record" checked true in settings. for the view purpose we are able to get the records inherited. Dose this also work for new records that are created. meaning Account is the record that has the "primary module" for which the security groups is assigned. now he is creating a new account thorough soap call. but I dint see this security groups associating with the new accounts. same when done through the SugarCRM Login(Not soap) the group is getting attached.

  3. Pravin member avatar

    Pravin Verified Purchase

    6 years ago

    Hi, wanted to know if the above can be achieved in security groups. please let us know.

    Another Question. can I get know in what all Group the user using Soap Api. also by getting all the Security Groups.

  4. eggsurplus member avatar

    eggsurplus Provider Affiliate

    6 years ago

    What version of SugarCRM are you running? I'll need to do some testing to see what's going on. Inheritance should work fine via the SOAP API. Although there is a chance that "Inherit from Parent Record" may only work with the portal_* SOAP calls.

    For the question about finding groups that a user belongs to; you may be able to do that by fetching the related records for a user.

    • Pravin member avatar

      Pravin Verified Purchase

      6 years ago

      Thanks for the reply we are using this version "Version 6.5.16 (Build 1082)"

  5. Pravin member avatar

    Pravin Verified Purchase

    6 years ago

    Adding info : user is ising soap api. and not the portal_*SOAP Calls.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      6 years ago

      Thanks Pravin!

      I'm trying to get to this, but it will be a tough 2 weeks as we get ready for SugarCon. If you don't hear back to me until after SugarCon then you'll know why. I will follow up on this.

      -Jason

    • Pravin member avatar

      Pravin Verified Purchase

      6 years ago

      Yes, Thanks. Hope you have good time there, few of my colleagues are also getting ready to attend SugarCon. until then will wait.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      6 years ago

      Hopefully I'll get the opportunity to say hello to them :)

  6. Pravin member avatar

    Pravin Verified Purchase

    6 years ago

    can we schedule an appointment, so we can have a introductory meeting :)

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      6 years ago

      I'll be at the SugarOutfitters booth. Feel free to stop by and say hello. It would be great to meet the team.

      -Jason

  7. Pravin member avatar

    Pravin Verified Purchase

    6 years ago

    Right now i am assigning SecuGroups Programatically for Accounts using the snippet below. it worked like a charm. but the same for contacts it failed. replacing Accounts > Contacts and contactid. Please throw some light into it.

    //set partner association to relation ship            
                $set_relationships_parameters = array(    
                 'session' => $session,    
                 'module_names' => array('Accounts'),
                 'module_ids' => array($accountid),
                 'link_field_name' => array('SecurityGroups'),
                 'related_ids' => array($security_groupID),
                 'name_value_list' => array(),
                 'delete_array'=> 0,
                 );
        $result2 = $this->client->call("set_relationships", $set_relationships_parameters);

    Thanks

  8. Pravin member avatar

    Pravin Verified Purchase

    6 years ago

    Info : we tried to hook it in logic hook. using Bean it worked. but we need it for SOAP. if any possibility seen.

    Thanks,
    Pravin Kumar

  9. eggsurplus member avatar

    eggsurplus Provider Affiliate

    4 years ago

    This is available in the latest SecuritySuite release.

  10. monalisa member avatar

    monalisa

    2 years ago

    Hi,

    I am trying to create relationship between user and roles.
    Users and security groups. But its not working.
    Can anyone help.
    what should be the link_field_name for users and roles. I am unable to find the relationship name in studio.
    and in case of users and security groups, what link_field_name to use. I find many relationships of users with security management in studio. I am confused.

    Thanks
    Monalisa

  11. monalisa member avatar

    monalisa

    2 years ago

    Hi,

    I am trying to create relationship between user and roles.
    Users and security groups. But its not working.
    Can anyone help.
    what should be the link_field_name for users and roles. I am unable to find the relationship name in studio.
    and in case of users and security groups, what link_field_name to use. I find many relationships of users with security management in studio. I am confused.

    Thanks
    Monalisa

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
Rating
  • "This impressive add on is easy to use, extremely flexible, and huge time saver. This add on exceeded our expectations and is worth every penny!"

    Read More Reviews

Keep up to date on the latest additions

We'll send you an email every month with handpicked add-ons, reviews, tricks and tips. Don't worry, we hate spam as much as you do.