Skip to content

Commit

Permalink
Documentation for bug revisions
Browse files Browse the repository at this point in the history
Added new $g_bug_revision_view_threshold config to Admin Guide's
Bug History section, as well as $g_bug_revision_drop_threshold which
was previously not documented.

Issue #20690
  • Loading branch information
dregad committed Dec 30, 2020
1 parent 5376d2a commit e636504
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config_defaults_inc.php
Expand Up @@ -2699,7 +2699,7 @@

/**
* Access level required to view bug history revisions.
* Users can always see revisions for the issues and bugnote they reported.
* Users can always see revisions for the issues and bugnotes they reported.
* @global integer $g_bug_revision_view_threshold
*/
$g_bug_revision_view_threshold = DEVELOPER;
Expand Down
33 changes: 33 additions & 0 deletions docbook/Admin_Guide/en-US/config/bughistory.xml
Expand Up @@ -34,4 +34,37 @@
</varlistentry>
</variablelist>

<para>In this context, MantisBT records individual changes to text fields
(<emphasis>Description</emphasis>,
<emphasis>Steps to Reproduce</emphasis>,
<emphasis>Additional Information</emphasis> as well as
<emphasis>Bug Notes</emphasis>).
These revisions are controlled by the following settings.
</para>

<variablelist>
<varlistentry>
<term>$g_bug_revision_view_threshold</term>
<listitem>
<para>Access level required to view bug history revisions.
Defaults to DEVELOPER.
</para>
<note>
<para>Users can always see revisions for the issues
and bugnotes they reported.
</para>

</note>
</listitem>
</varlistentry>
<varlistentry>
<term>$g_bug_revision_drop_threshold</term>
<listitem>
<para>Access level required to drop bug history revisions.
Defaults to MANAGER.
</para>
</listitem>
</varlistentry>
</variablelist>

</section>

0 comments on commit e636504

Please sign in to comment.