Skip to content

Commit

Permalink
Documentation: use 'warning' tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Apr 5, 2015
1 parent 5ca2fb6 commit 2191daa
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 12 deletions.
12 changes: 8 additions & 4 deletions docbook/Admin_Guide/en-US/Installation.xml
Expand Up @@ -619,10 +619,14 @@ tar -xf <emphasis>filename.tar</emphasis>
as a starting point.
</para>

<para>WARNING: you should never edit the
<emphasis>config_defaults_inc.php</emphasis> file
directly, as it could cause issues with future upgrades.
</para>
<warning>
<para>you should never edit the
<emphasis>config_defaults_inc.php</emphasis> file
directly, as it could cause issues with future upgrades.
Always store your custom configuration in your own
<emphasis>config_inc.php</emphasis> file.
</para>
</warning>

</section>

Expand Down
15 changes: 11 additions & 4 deletions docbook/Admin_Guide/en-US/config/misc.xml
Expand Up @@ -218,11 +218,18 @@
<varlistentry>
<term>$g_set_configuration_threshold</term>
<listitem>
<para>Threshold for users to set the system configurations generically via MantisBT web interface.
WARNING: Users who have access to set configuration via the interface MUST be trusted. This is due
to the fact that such users can set configurations to PHP code and hence there can be a security
risk if such users are not trusted. The default value is ADMINISTRATOR.
<para>Threshold for users to set the system configurations
generically via MantisBT web interface.
The default value is ADMINISTRATOR.
</para>
<warning>
<para>Users who have access to set configuration via the
interface MUST be trusted. This is due to the fact that
these users can leverage the interface to
<emphasis>inject PHP code</emphasis> into the system,
which is a potential security risk.
</para>
</warning>
</listitem>
</varlistentry>
<varlistentry>
Expand Down
2 changes: 1 addition & 1 deletion docbook/Admin_Guide/en-US/config/security.xml
Expand Up @@ -35,7 +35,7 @@
the value of this configuration option.
</para>
<warning>
<para>WARNING: This configuration option has a profound
<para>This configuration option has a profound
impact on the security of your MantisBT
installation. Failure to set this configuration
option correctly could lead to your MantisBT
Expand Down
12 changes: 9 additions & 3 deletions docbook/Admin_Guide/en-US/config/webserver.xml
Expand Up @@ -35,7 +35,10 @@
<listitem>
<para>Use Session validation (defaults to <emphasis>ON</emphasis>)
</para>
<para><emphasis>WARNING: Disabling this could be a potential security risk</emphasis></para>
<warning>
<para>Disabling this could be a potential security risk !
</para>
</warning>
</listitem>
</varlistentry>

Expand All @@ -48,8 +51,11 @@
Some proxy servers may not correctly work with this option enabled
because they cache pages incorrectly.
</para>
<para><emphasis>WARNING: Disabling this option is a security risk,
it is strongly recommended to leave it ON</emphasis></para>
<warning>
<para>Disabling this option is a security risk,
it is strongly recommended to leave it ON
</para>
</warning>
</listitem>
</varlistentry>

Expand Down

0 comments on commit 2191daa

Please sign in to comment.