Cannot set inbound group email for non-Administrator users

@pgr YES!

The whole implementation of Group Email was a bit of a mess.

  1. Group email accounts do not get marked as “is_group”= 1 in the database so they are not selected properly throughout SuiteCRM (I fixed this).
  2. Subscriptions do not get added to users because it only runs when “is_group”=1 (I fixed this). You’ll also have to re-save the accounts once the patch is applied to update the subscriptions and the “is_group”
  3. Only admins can see group accounts because the filter of available accounts do not take into account subscriptions but only if the user is an admin. (I fixed this) Now the user can see folders subscribed to AND that he/she has access to.
  4. The JS that generates the list in the user preferences cannot handle a second array of group accounts in the JSON list, so they cannot be selected for viewing in the selection list. (I fixed this). (this one is nasty in the cache and difficult to fix, you’ll have to R&R all the js files after the patch)
  5. Deleted group accounts get shown too! There is no mechanism when an email account is deleted to mark it as deleted =1. (I fixed this)

Long story short, there are a bunch of fixes that need to be applied to make they whole system of Group Emails work.

All the required fixes are listed here (there are about 4-5 changes that need to be made to various files):

Also, don’t forget to add the user and the group account to the same security group. If you check out my super long post on this one, there is a video demonstrating 1. It not working and 2. working after the patches and how it works.

1 Like