Skip to content
Permalink
Browse files

Add configuration for viewing roadmap threshold

Fixes: #25116
  • Loading branch information...
cproensa authored and dregad committed Dec 29, 2018
1 parent da62c7b commit 1417e38c459dae4c61bcc2d4b3c6ef8025d94642
@@ -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>
@@ -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' );
@@ -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' );

0 comments on commit 1417e38

Please sign in to comment.
You can’t perform that action at this time.