#778 - Create Lead and Create Modules Not showing up
From Bill Convis and SierraCRM, he states that:
Can you open a case in SugarOutfitters under your account? The problem we are seeing is that Security Groups is keeping the Create Lead and other Create Modules menu item hidden for anybody that is not an Admin. Open a case and lets see if Chad at SugarOutfitters can help out.
Please help, thanks... Bob
10 years ago
Hello Bob,
For the user that can't see the Create option, go to their user record in SugarCRM as an admin. The click on the Access tab. Look at what their rights are for Edit for that module. If it is set to None it will then cause it to be hidden.
If you are on the latest version of SecuritySuite for 6.5.17 (version 2.8.0) then check the Create column to see what rights are set to. The Create column is a new feature so you can specify different rights for creating records versus editing them.
Hopefully those hints help you out! -Jason
10 years ago
Jason, I think I see the issue. In the one Role we have created - the far right column next to View , there is no Label at the top of the table and all the entries are N/A. Bob is using SugarCRM CE 6.5.17 , but he has a boat load of modules, including Google Auth. Should we be seeing the Create label at the top of this column?
ADDITIONAL INFO FOR YOU:
For this Role we have Leads set Enabled and All on every column. The one user is assigned to this role. We have one Security Group with this user assigned to this group along with this one Role. In the file ACLAction.php - in the function getUserActions - we are hitting this: if(empty($category) && empty($action)){ return $_SESSION['ACL'][$user_id]; } So category and Action are empty. So the calling function on this - function userHasAccess then sees that the following is empty:
/** return ACLAction::hasAccess($is_owner, $_SESSION['ACL'][$user_id][$category][$type][$action]['aclaccess']); */ return ACLAction::hasAccess($is_owner, $in_group, $_SESSION['ACL'][$user_id][$category][$type][$action]['aclaccess']); } return false;
So we are returning FALSE and thus not able to build out the menu for this user.
Thanks Bill Convis
10 years ago
Try running a Repair Roles and then a Quick Repair and Rebuild. It is likely that this will fix the issue. Then check the role again.
10 years ago
Jason, That did it - thanks. Bill
10 years ago
Great! Sorry for the head scratcher. Apparently the Quick Repair/Rebuild during install isn't enough.