Description of problem: Getting 403 forbidden error while setting the email preference or sending the test email with a normal user with viewer access logged in Version-Release number of selected component (if applicable): satellite 6.2.10 How reproducible: Steps to Reproduce: 1. Added role view_mail_notifications only: no, mail button does NOT work, no test emails were sent. 2. With edit_user permission only: email button DOES works. Permission "view_mail_notifications" is NOT necessary for test emails. 3. Actual results: Getting 403 when assigned viewer role permission. Expected results: The view_mail_notifications role must be sufficient to send the test email. Additional info:
Created redmine issue http://projects.theforeman.org/issues/20410 and PR submitted upstream https://github.com/theforeman/foreman/pull/4697
Upstream bug assigned to afeferku
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16807 has been resolved.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336