diff options
author | dklawren <dklawren@users.noreply.github.com> | 2018-06-29 17:29:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-29 17:29:14 +0200 |
commit | dbe2e8705677c107782f60a0cc4324858c6fa6a7 (patch) | |
tree | b784d9050b9c45ca845b8d0b51e0a433a272a93b /extensions/PhabBugz/lib | |
parent | 336a23293ae034709b4f238de578699c1e21624c (diff) | |
download | bugzilla-dbe2e8705677c107782f60a0cc4324858c6fa6a7.tar.gz bugzilla-dbe2e8705677c107782f60a0cc4324858c6fa6a7.tar.xz |
Bug 1472196 - Disable use of editbugs as edit policy since group member syncing is currently broken on prod bmo
Diffstat (limited to 'extensions/PhabBugz/lib')
-rw-r--r-- | extensions/PhabBugz/lib/Revision.pm | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/extensions/PhabBugz/lib/Revision.pm b/extensions/PhabBugz/lib/Revision.pm index a39e7169c..900454220 100644 --- a/extensions/PhabBugz/lib/Revision.pm +++ b/extensions/PhabBugz/lib/Revision.pm @@ -476,15 +476,8 @@ sub make_private { sub make_public { my ( $self ) = @_; - my $edit_bugs = - Bugzilla::Extension::PhabBugz::Project->new_from_query( - { - name => 'bmo-editbugs-team' - } - ); - $self->set_policy('view', 'public'); - $self->set_policy('edit', ($edit_bugs ? $edit_bugs->phid : 'users')); + $self->set_policy('edit', 'users'); my @current_group_projects = grep { $_->name =~ /^(bmo-.*|secure-revision)$/ } @{ $self->projects }; foreach my $project (@current_group_projects) { |