summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-02-24 22:29:59 +0100
committerDylan William Hardison <dylan@hardison.net>2017-03-01 00:27:22 +0100
commit9a55573a425c62a3ac8d24babb7aeda0f42d8040 (patch)
treef370a594dd61e2e69133a4a73d6799eebd94a5b2 /scripts
parenta9855e8d9746a91793b46a1ef2cdba6a200132b4 (diff)
downloadbugzilla-9a55573a425c62a3ac8d24babb7aeda0f42d8040.tar.gz
bugzilla-9a55573a425c62a3ac8d24babb7aeda0f42d8040.tar.xz
Bug 1342542 - Add special partner-confidential, jbalaco@mozilla.com and mbest@mozilla.com to generate_bmo_data.pl
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generate_bmo_data.pl25
1 files changed, 25 insertions, 0 deletions
diff --git a/scripts/generate_bmo_data.pl b/scripts/generate_bmo_data.pl
index 5866afd7f..46bba91c8 100755
--- a/scripts/generate_bmo_data.pl
+++ b/scripts/generate_bmo_data.pl
@@ -23,6 +23,8 @@ use Bugzilla::Config qw(:admin);
use Bugzilla::User::Setting;
use Bugzilla::Status;
+BEGIN { Bugzilla->extensions }
+
my $dbh = Bugzilla->dbh;
# set Bugzilla usage mode to USAGE_MODE_CMDLINE
@@ -157,6 +159,15 @@ my @users = (
realname => 'Nobody; OK to take it and work on it',
password => '*'
},
+ map {
+ {
+ login => $_,
+ realname => (split(/@/, $_, 2))[0],
+ password => '*',
+ }
+ } map {
+ map { @$_ } values %$_
+ } values %Bugzilla::Extension::BMO::Data::group_auto_cc,
);
print "creating user accounts...\n";
@@ -376,6 +387,20 @@ my @groups = (
all_products => 0,
bug_group => 0,
},
+ {
+ name => 'partner-confidential',
+ description => 'Restrict the visibility of this bug to the assignee, QA contact, and CC list only.',
+ no_admin => 1,
+ all_products => 0,
+ bug_group => 1,
+ },
+ {
+ name => 'partner-confidential-visible',
+ description => 'Members of this group will be able to use the partner-confidential group when filing bugs',
+ no_admin => 0,
+ all_products => 0,
+ bug_group => 0,
+ },
);
print "creating groups...\n";