#4842 Allow repo admins to change the bugzilla overrides
Merged 3 years ago by pingou. Opened 3 years ago by pingou.

@@ -161,7 +161,7 @@ 

          </dd>

          {% endif %}

        </dl>

-       {% if g.authenticated and repo.user.user == g.fas_user.username or pagure_admin %}

+       {% if g.authenticated and (repo.user.user == g.fas_user.username or g.repo_admin) %}

          <div class="btn-group">

            <a href="#" title="Update the bugzilla assignee(s)"

                class="btn btn-sm btn-outline-primary"

The repo admins include the instance wide admins, thus in the case of
Fedora and src.fp.o members of the cvsadmin group.

Fixes https://pagure.io/pagure-dist-git/issue/105

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

Uhhh?

06:32:07  Failed tests:
06:32:07  FAILED test: py-test_pagure_flask_api_user

rebased onto 7152310

3 years ago

Pull-Request has been merged by pingou

3 years ago