summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-09-14 10:32:30 +0200
committermkanat%bugzilla.org <>2006-09-14 10:32:30 +0200
commit8af30bf52079932a49dd628ca6045c313846f34a (patch)
treeeb6659ab8732d72a9ff1a6d3cbbc1f736bcdb69d /Bugzilla/Install
parent110e9309a0418b63c1d919936c3e1d13396b9fc3 (diff)
downloadbugzilla-8af30bf52079932a49dd628ca6045c313846f34a.tar.gz
bugzilla-8af30bf52079932a49dd628ca6045c313846f34a.tar.xz
Bug 352593: Move group creation from checksetup.pl to Bugzilla::Install
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=myk
Diffstat (limited to 'Bugzilla/Install')
-rw-r--r--Bugzilla/Install/DB.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/Install/DB.pm b/Bugzilla/Install/DB.pm
index e4e4e97fe..2e364c540 100644
--- a/Bugzilla/Install/DB.pm
+++ b/Bugzilla/Install/DB.pm
@@ -416,6 +416,11 @@ sub update_table_definitions {
_copy_attachments_thedata_to_attach_data();
_fix_broken_all_closed_series();
+ # 2005-08-14 bugreport@peshkin.net -- Bug 304583
+ # Get rid of leftover DERIVED group permissions
+ use constant GRANT_DERIVED => 1;
+ $dbh->do("DELETE FROM user_group_map WHERE grant_type = " . GRANT_DERIVED);
+
# PUBLIC is a reserved word in Oracle.
$dbh->bz_rename_column('series', 'public', 'is_public');