Attachments not visible on Notes

When we attach files to a Note, the attachement is not visible to other users because of the Teams that are assigned to the attachment record.

We noticed that the attachment record created from a Note only contains the user's default team. that doesn't allow visibility to other users.

Attachment Teams are not aligned with parent Notes teams.

Is this a common issue? Is it a bug????

Is there a solution?

Parents
  • Hello

    What you are describing seems to be the expected behaviour of Sugar. 
    When a user creates a record the team set should be the "Default Teams" of that user. 

    If you want to add more teams in the Note or Attachment creation you should consider adding those teams to the "Default Teams" of the user that creates the Notes. 

    Let me know if this helps in any way. 

    André

  • Thanks Andrè. I got it.

    But then, what happens if I add the "all users" team directly to the note?

    Will all users be able to see the attachment?

  • Hi

    The way to go is to add the Global team to the attachment note. 
    On the following link you can find an article that covers a similar scenario: 

    https://support.sugarcrm.com/Knowledge_Base/Users_Teams_Roles/Assigning_All_New_Records_to_the_Global_Team/

    I hope this helps. 


    André

  • Sure, but that way if a user instead wants to limit the visibility?

    From Global to private at note level. This is not reflected to the attachment.



  • I believe I finally understand your scenario now. 
    Let me know if this is what you are facing: 

    1 - With User Jim that has default team = West you create a note with one attachment. 
    2 - Now you want to provide visibility to team East adding the new team to the note that Jim created. 
    3 - The users on Team East can see the Note but can't open the attachment. 

    This happens because the attachment is stored in one "Attachment note" in which the Teams are not propagated with the change in step 2. 

    This is indeed an issue and it was already documented by our support team: 

    #89322 ( portal.sugarondemand.com/ )

    While this is not fixed the only workaround I can think of is to create a logic hook to copy the teams over in step 2 in an after_save action. 

Reply


  • I believe I finally understand your scenario now. 
    Let me know if this is what you are facing: 

    1 - With User Jim that has default team = West you create a note with one attachment. 
    2 - Now you want to provide visibility to team East adding the new team to the note that Jim created. 
    3 - The users on Team East can see the Note but can't open the attachment. 

    This happens because the attachment is stored in one "Attachment note" in which the Teams are not propagated with the change in step 2. 

    This is indeed an issue and it was already documented by our support team: 

    #89322 ( portal.sugarondemand.com/ )

    While this is not fixed the only workaround I can think of is to create a logic hook to copy the teams over in step 2 in an after_save action. 

Children