summaryrefslogtreecommitdiffstats
path: root/extensions/UserStory/lib/Constants.pm
blob: 6a1c0c449a08917b18b234857aa4e39c08f56844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.

package Bugzilla::Extension::UserStory::Constants;

use 5.10.1;
use strict;
use warnings;

use base qw(Exporter);

our @EXPORT = qw( USER_STORY_EXCLUDE USER_STORY_GROUP );

# Group allowed to set/edit the user story field
use constant USER_STORY_GROUP => 'editbugs';

# Exclude showing the user story field for these products/components.
# Examples:
# Don't show User Story on any Firefox OS component:
#   'Firefox OS' => [],
# Don't show User Story on Developer Tools component, visible on all other
# Firefox components
#   'Firefox'    => ['Developer Tools'],
use constant USER_STORY_EXCLUDE => { };

1;