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

#3346 - Group Select not shown when user is in multiple groups but only one group is inheritable

Closed Feature created by mminnie 7 years ago

The group select popup is a nice feature, however the select "popup" is NOT shown unless the user is in more than one SecuritySuite group and more than one security group is set to inherit.

The code that is checking the memberships is SecurityGroup::getMembershipCount. The SQL statement in this function specifically looking for a null or <> 1 value for noninheritable.

This does not fit my use case, and I am not sure which use case this would be desired.

My Use Case

Mrs. Smith is a Customer Service Representative (CSR) for company XYZ. She is also the head of the department. Mr. Jones is also a CSR.
Mrs. Smith and Mr. Jones are in the group named "CSR" that is inheritable. Mrs. Smith is in a second group named "CSR Manager" that is NOT inheritable.

The "CSR Manager" group is not inheritable because the group is set up with the idea in mind that Mrs. Smith can make account notes that only the head of the department should see.

Mrs. Smith and Mr. Jones work on the same accounts, contacts, etc. When creating records, notes, appointments, etc, the Security Group should normally get the "CSR" group assigned. When Mrs. Smith wants to make a note that only she can see, she would want to only assign the "CSR Manager" group to the note record.

In the not inheritable example here, it is assumed the manager would not normally create records in the normal user's group. What if the example changes only slightly where the manager might want to occasionally create records for the people in the non-manager group?

I know I can alter the SQL to fit my use case, however I am wondering if there could be an option or feature added to handle both?

  1. eggsurplus member avatar

    eggsurplus Provider Affiliate

    7 years ago

    This makes sense. I'll get this added for a future release by removing that explicit noninheritable check. Feel free to alter the SQL for now.

    Thanks, -Jason

  2. mminnie member avatar

    mminnie

    7 years ago

    While you're on this topic, it would also be nice to have the pop-up only select either the user's primary group or all the groups that inherit. Groups that do not inherit aren't automatically added to the record. If the pop-up shows up it makes sense to me that these non inherit groups are not selected by default.

  3. eggsurplus member avatar

    eggsurplus Provider Affiliate

    7 years ago

    Just added this to the latest 3.1.3 which is now available to download. The select will default to the groups that are set to be inheritable.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
Rating
  • "It is not working. Below error is coming. "Specified directory '' for zip file 'upload://6.5.24_SecuritySuite_v3.1.12.zip' extraction does not exist."" - MaxMobility

    Read More Reviews