by eggsurplus

Control what your users can access and save time, money, and frustrations. Lock down sensitive data in 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

#1850 - nonadmin users see the default layout instead of the layout for their security group

Closed Bug? created by Grace Christian University 5 years ago

nonadmin users see the default layout instead of the layout for their security group. We have tried having them clear their cache as well as tried it with two separate users. We are looking into any server side caching issues, but so far have not found them. What other things may cause nonadmin users to not see the correct layout.

  1. eggsurplus member avatar

    eggsurplus Provider Affiliate

    5 years ago

    It has been reported recently that when you remove a security group that the securitygroups_users table records are not being marked as deleted by SuiteCRM. I suggest looking at that table and manually setting the deleted field to 1 for those that should be set to deleted.

    Here is a script to do just that:

    update securitygroups_users u
    inner join securitygroups g on u.securitygroup_id = g.id and g.deleted = 0
    set u.deleted = 1;
    

    Another thought is to check the securitygroups_users table for the users having issues to see what records exist. Any deleted = 0 records that have primary_group set to 1 will take precedence for which layout to show.

    If no resolution is found could you send over temp credentials to a test or production site with this behavior to solutions@eggsurplus.com along with steps to reproduce, including for which user?

    • mlove member avatar

      We were the ones to report that solution, and it fixed a very similar issue. Nonetheless I ran the sql and it found 36 updates. The users I had been testing with I had manually checked and did that fix. I will send you credentials.

    • eggsurplus member avatar

      eggsurplus Provider Affiliate

      5 years ago

      I thought this sounded familiar! Will look for your email.

  2. eggsurplus member avatar

    eggsurplus Provider Affiliate

    5 years ago

    Worked this out via email and it ended up being a file that was overwritten by a different customization. If anyone else runs into this, the solution is to merge back in the SecuritySuite specific code for that file.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
  • "The add-on itself was already a must for my SuiteCRM, which was missing this very important security feature. However, what surprised me the most was ..." - Davint

    Read More Reviews