Skip to content

Commit

Permalink
Add configuration for viewing roadmap threshold
Browse files Browse the repository at this point in the history
Fixes: #25116
  • Loading branch information
cproensa authored and dregad committed Dec 29, 2018
1 parent da62c7b commit 1417e38
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docbook/Admin_Guide/en-US/Page_Descriptions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,11 @@
<entry>$g_view_changelog_threshold</entry>
<entry>threshold to view the changelog</entry>
</row>
<row>
<entry>View Roadmap</entry>
<entry>$g_roadmap_view_threshold</entry>
<entry>threshold to view the roadmap</entry>
</row>
<row>
<entry>View Assigned To</entry>
<entry>$g_view_handler_threshold</entry>
Expand Down
1 change: 1 addition & 0 deletions manage_config_work_threshold_page.php
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ function get_section_end() {
# Others
get_section_begin_mcwt( lang_get( 'others' ) );
get_capability_row( lang_get( 'view' ) . ' ' . lang_get( 'changelog_link' ), 'view_changelog_threshold' );
get_capability_row( lang_get( 'view' ) . ' ' . lang_get( 'roadmap_link' ), 'roadmap_view_threshold' );
get_capability_row( lang_get( 'view' ) . ' ' . lang_get( 'assigned_to' ), 'view_handler_threshold' );
get_capability_row( lang_get( 'view' ) . ' ' . lang_get( 'bug_history' ), 'view_history_threshold' );
get_capability_row( lang_get( 'send_reminders' ), 'bug_reminder_threshold' );
Expand Down
1 change: 1 addition & 0 deletions manage_config_work_threshold_set.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ function set_capability_enum( $p_threshold, $p_all_projects_only = false ) {

# Others
set_capability_row( 'view_changelog_threshold' );
set_capability_row( 'roadmap_view_threshold' );
set_capability_row( 'view_handler_threshold' );
set_capability_row( 'view_history_threshold' );
set_capability_row( 'bug_reminder_threshold' );
Expand Down

0 comments on commit 1417e38

Please sign in to comment.