Red Hat Bugzilla – Bug 1474888
Getting 403 forbidden error while setting the email preference or sending the test email with a normal user with viewer access
Last modified: 2017-08-15 15:49:33 EDT
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):
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.
Getting 403 when assigned viewer role permission.
The view_mail_notifications role must be sufficient to send the test email.
Created redmine issue http://projects.theforeman.org/issues/20410
and PR submitted upstream https://github.com/theforeman/foreman/pull/4697
Upstream bug assigned to firstname.lastname@example.org
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16807 has been resolved.