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

#756 - Audit

Closed Feature created by diego.campiglia 5 years ago

There is the possibility to audit the user that have added/removed the security group relationship?

  1. diego.campiglia member avatar

    diego.campiglia

    5 years ago

    I try to write a trigger.. but the column securitygroups_records.created_by still void (this is normal?)
    Thanks!

  2. eggsurplus member avatar

    eggsurplus Provider Affiliate

    5 years ago

    Interesting. I haven't seen anyone try that before. That information is not currently being tracked. You could alter modules/SecurityGroups/SecurityGroup.php to add that information when inserting into the table if you wish to track and audit that.

  3. diego.campiglia member avatar

    diego.campiglia

    5 years ago

    mmm I try it.
    I've edit the modules/SecurityGroups/SecurityGroup.php file
    but the related functions:
    - addGroupToRecord($module, $record_id, $securitygroup_id) and
    - removeGroupFromRecord($module, $record_id, $securitygroup_id)

    truly not running.

    if I remove it both, nothing change.
    I can continue to add or remove..

    Any help?
    Thanks

  4. diego.campiglia member avatar

    diego.campiglia

    5 years ago

    fyi, on the functions inherit_assigned, inherit_creator, inheritOne all works good.
    The string value is transmitted correctly

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      5 years ago

      There are 6 places where you will want to add those columns to the insert SQL. Look for "insert into securitygroups_records" and you will find those 6 spots. Then add the columns and the values as appropriate.

  5. eggsurplus member avatar

    eggsurplus Provider Affiliate

    3 years ago

    Closing this out, but feel free to follow up if you have any more questions.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
Rating
  • "SecuritySuite was a very good addition to our SugarCRM implementation helping to integrate different functional teams with strictly specified roles."

    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.