diff options
author | Jeff Fearn <jfearn@redhat.com> | 2020-06-02 11:39:53 +1000 |
---|---|---|
committer | Jeff Fearn <jfearn@redhat.com> | 2020-07-17 09:27:41 +1000 |
commit | 6c255fc0e4990e9a547ed162591b9dde47e37e4e (patch) | |
tree | 73bfcd3184b8bf1dc224f2fbee8b3a98d16decc7 | |
parent | Bug 1821023 - Provide a mechanism to require password changes (diff) | |
download | bugzilla-6c255fc0e4990e9a547ed162591b9dde47e37e4e.tar.gz bugzilla-6c255fc0e4990e9a547ed162591b9dde47e37e4e.tar.bz2 bugzilla-6c255fc0e4990e9a547ed162591b9dde47e37e4e.zip |
Bug 1840892 - Unable to add an active flag to a bug using the UI unless it is requestable
FlagTypes aren't requestable.
Change-Id: I2044372170d8bb6e7afca65673893293f5cd0c12
-rw-r--r-- | extensions/SelectizeJS/web/css/SelectizeJS.css | 4 | ||||
-rw-r--r-- | extensions/Workflows/Extension.pm | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/extensions/SelectizeJS/web/css/SelectizeJS.css b/extensions/SelectizeJS/web/css/SelectizeJS.css index 995a7279a..332e3bf73 100644 --- a/extensions/SelectizeJS/web/css/SelectizeJS.css +++ b/extensions/SelectizeJS/web/css/SelectizeJS.css @@ -66,6 +66,10 @@ td.groups { padding-left: 1em; } +.flag_select { + min-width: 3.3em; +} + .flag_select .selectize-input { /* height: 32px; */ min-width: 10px; diff --git a/extensions/Workflows/Extension.pm b/extensions/Workflows/Extension.pm index 8e61c4d86..afbd46163 100644 --- a/extensions/Workflows/Extension.pm +++ b/extensions/Workflows/Extension.pm @@ -325,7 +325,7 @@ sub _flagtype_user_can_edit { $can_edit = $group->can_approve($user, $requestor); } else { - $can_edit = ($self->is_requestable && $user->can_request_flag($self)); + $can_edit = $user->can_request_flag($self); } return $can_edit; |