Stop making the releng user be CC'd on Bugzilla bugs on projects that it is inherently watching issues on in Pagure
This commit is contained in:
parent
8f264907f7
commit
9fabcc45d4
1 changed files with 2 additions and 0 deletions
|
@ -652,6 +652,8 @@ def _pagure_project_to_acl_schema(project_and_product, session=None):
|
||||||
|
|
||||||
user_cc_list = []
|
user_cc_list = []
|
||||||
for user, watch_levels in watchers_rv_json['watchers'].items():
|
for user, watch_levels in watchers_rv_json['watchers'].items():
|
||||||
|
if user == 'releng':
|
||||||
|
continue
|
||||||
# Only people watching issues should be CC'd
|
# Only people watching issues should be CC'd
|
||||||
if 'issues' in watch_levels:
|
if 'issues' in watch_levels:
|
||||||
user_cc_list.append(user)
|
user_cc_list.append(user)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue