Skip to content

Commit

Permalink
Add issue revision settings to "Workflow Thresholds" page
Browse files Browse the repository at this point in the history
Fixes #27817
  • Loading branch information
atrol authored and dregad committed Jan 5, 2021
1 parent b7cf974 commit d039b54
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lang/strings_english.txt
Expand Up @@ -1385,6 +1385,8 @@ $s_update_readonly_issues = 'Update readonly issues';
$s_update_issue_status = 'Update issue status';
$s_set_view_status = 'Set view state when reporting a new issue or note';
$s_update_view_status = 'Change view state of existing issue or note';
$s_view_issue_revisions = 'View issue or note revisions';
$s_drop_issue_revisions = 'Drop issue or note revisions';
$s_set_sticky = 'Stick / Unstick an issue';
$s_show_list_of_users_monitoring_issue = 'Show list of users monitoring issue';
$s_add_users_monitoring_issue = 'Add monitors to an issue';
Expand Down
2 changes: 2 additions & 0 deletions manage_config_work_threshold_page.php
Expand Up @@ -393,6 +393,8 @@ function get_section_end() {
get_capability_row( lang_get( 'view_private_issues' ), 'private_bug_threshold' );
get_capability_row( lang_get( 'set_view_status' ), 'set_view_status_threshold' );
get_capability_row( lang_get( 'update_view_status' ), 'change_view_status_threshold' );
get_capability_row( lang_get( 'view_issue_revisions' ), 'bug_revision_view_threshold' );
get_capability_row( lang_get( 'drop_issue_revisions' ), 'bug_revision_drop_threshold' );
get_capability_row( lang_get( 'set_sticky' ), 'set_bug_sticky_threshold' );
get_capability_row( lang_get( 'show_list_of_users_monitoring_issue' ), 'show_monitor_list_threshold' );
get_capability_row( lang_get( 'add_users_monitoring_issue' ), 'monitor_add_others_bug_threshold' );
Expand Down
2 changes: 2 additions & 0 deletions manage_config_work_threshold_set.php
Expand Up @@ -190,6 +190,8 @@ function capability_exists( $p_name ) {
set_capability_row( 'update_bug_status_threshold' );
set_capability_row( 'set_view_status_threshold' );
set_capability_row( 'change_view_status_threshold' );
set_capability_row( 'bug_revision_view_threshold' );
set_capability_row( 'bug_revision_drop_threshold' );
set_capability_row( 'set_bug_sticky_threshold' );
set_capability_row( 'show_monitor_list_threshold' );
set_capability_row( 'monitor_add_others_bug_threshold' );
Expand Down

0 comments on commit d039b54

Please sign in to comment.