From dbe2e8705677c107782f60a0cc4324858c6fa6a7 Mon Sep 17 00:00:00 2001 From: dklawren Date: Fri, 29 Jun 2018 11:29:14 -0400 Subject: Bug 1472196 - Disable use of editbugs as edit policy since group member syncing is currently broken on prod bmo --- extensions/PhabBugz/lib/Revision.pm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'extensions/PhabBugz/lib') 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) { -- cgit v1.2.3-24-g4f1b