Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43386

Not sending mail to user with permission to view

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • email-ext-plugin
    • None
    • Jenkins LTS 2.46.1, EmailExtPlugin 2.57.1, role based matrix used

      After the latest update with the security patch, no mails sended anymore to "requester" of a job.

      The error message in job console looks like this:
      Not sending mail to user user@mail.com with no permission to view currentJob
      When setting the suggested property 

      -Dhudson.tasks.MailSender.SEND_TO_USERS_WITHOUT_READ=true

      it works.

       

      The user has overall read permission (matrix based security setup) and for the conrete job the permission:

      Job: View,Discover,Read,Workspace

      Run: Update

      The user has an account (if I click on the user which started the job .. also belongs to this job (can seen in the user view)) and the mail address is correct.

      What permissions or settings are required to avoid this problem? We do not like to have this system property enabled.

      Thanks for the great plugin and support!

      Regards,

      • Thomas

          [JENKINS-43386] Not sending mail to user with permission to view

          Thomas Wabner created issue -
          Thomas Wabner made changes -
          Link New: This issue is related to JENKINS-43268 [ JENKINS-43268 ]
          Jesse Glick made changes -
          Link New: This issue duplicates JENKINS-9016 [ JENKINS-9016 ]
          Victor Martinez made changes -
          Link New: This issue is duplicated by JENKINS-46292 [ JENKINS-46292 ]
          Ɓukasz Bednarczyk made changes -
          Summary Original: Not sending mail to user with no permission to view New: Not sending mail to user with permission to view
          Alex Earl made changes -
          Link New: This issue is blocked by JENKINS-46292 [ JENKINS-46292 ]
          Alex Earl made changes -
          Assignee Original: David van Laatum [ davidvanlaatum ] New: Alex Earl [ slide_o_mix ]
          Alex Earl made changes -
          Assignee Original: Alex Earl [ slide_o_mix ]

            Unassigned Unassigned
            waffel Thomas Wabner
            Votes:
            18 Vote for this issue
            Watchers:
            31 Start watching this issue

              Created:
              Updated: