Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 293983 Details for
Bug 406471
3.37: OR based group checking for bugs and product entry
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
add "or_groups" parameter
GroupSecurity.pm (text/plain), 2.73 KB, created by
Tony Fu
on 2008-02-05 07:41:43 UTC
(
hide
)
Description:
add "or_groups" parameter
Filename:
MIME Type:
Creator:
Tony Fu
Created:
2008-02-05 07:41:43 UTC
Size:
2.73 KB
patch
obsolete
># -*- Mode: perl; indent-tabs-mode: nil -*- ># ># The contents of this file are subject to the Mozilla Public ># License Version 1.1 (the "License"); you may not use this file ># except in compliance with the License. You may obtain a copy of ># the License at http://www.mozilla.org/MPL/ ># ># Software distributed under the License is distributed on an "AS ># IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or ># implied. See the License for the specific language governing ># rights and limitations under the License. ># ># The Original Code is the Bugzilla Bug Tracking System. ># ># The Initial Developer of the Original Code is Netscape Communications ># Corporation. Portions created by Netscape are ># Copyright (C) 1998 Netscape Communications Corporation. All ># Rights Reserved. ># ># Contributor(s): Terry Weissman <terry@mozilla.org> ># Dawn Endico <endico@mozilla.org> ># Dan Mosedale <dmose@mozilla.org> ># Joe Robins <jmrobins@tgix.com> ># Jacob Steenhagen <jake@bugzilla.org> ># J. Paul Reed <preed@sigkill.com> ># Bradley Baetz <bbaetz@student.usyd.edu.au> ># Joseph Heenan <joseph@heenan.me.uk> ># Erik Stambaugh <erik@dasbistro.com> ># Frédéric Buclin <LpSolit@gmail.com> ># > >package Bugzilla::Config::GroupSecurity; > >use strict; > >use Bugzilla::Config::Common; >use Bugzilla::Group; > >$Bugzilla::Config::GroupSecurity::sortkey = "07"; > >sub get_param_list { > my $class = shift; > > my @param_list = ( > { > name => 'makeproductgroups', > type => 'b', > default => 0 > }, > > { > name => 'useentrygroupdefault', > type => 'b', > default => 0 > }, > > { > name => 'chartgroup', > type => 's', > choices => \&_get_all_group_names, > default => 'editbugs', > checker => \&check_group > }, > > { > name => 'insidergroup', > type => 's', > choices => \&_get_all_group_names, > default => '', > checker => \&check_group > }, > > { > name => 'timetrackinggroup', > type => 's', > choices => \&_get_all_group_names, > default => 'editbugs', > checker => \&check_group > }, > > { > name => 'querysharegroup', > type => 's', > choices => \&_get_all_group_names, > default => 'editbugs', > checker => \&check_group > }, > > { > name => 'usevisibilitygroups', > type => 'b', > default => 0 > }, > > { > name => 'strict_isolation', > type => 'b', > default => 0 > }, ># REDHAT EXTENSION START 406471 ># This param can be set to 1 to enable OR-based groups checking > { > name => 'or_groups', > type => 'b', > default => 0 > } ># REDHAT EXTENSION END 406471 > ); > return @param_list; >} > >sub _get_all_group_names { > my @group_names = map {$_->name} Bugzilla::Group->get_all; > unshift(@group_names, ''); > return \@group_names; >} >1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 406471
:
293982
|
293983
|
293984
|
294053
|
294073
|
294075
|
294076
|
294190
|
294306
|
294480
|
294619
|
294629
|
294714
|
294715
|
294863
|
294968
|
298956