MantisBT: master 20d94503

Author Committer Branch Timestamp Parent
vboctor master 2003-01-23 19:09 master 9eff4d36
Changeset

The aim of this commit is to change $g_show_user_email to a threshold
configuration item. This provides flexibility and consistency with other
similar configuration items.

  • config_defaults_inc.php

    • Changed $g_show_user_email to $g_show_user_email_threshold
  • constant_inc.php

    • Removed the ALL, NO_ANONYMOUS, and ADMIN_ONLY constants since the normal
      access levels will now be used to set the threshold.
  • core/access_api.php
    (access_level_check_greater_or_equal): Do not return true for admin if access
    level is NOBODY. This special case of allowing admin to do everything has to
    be revised.
    (access_level_ge_no_default_for_private): Same as the previous method.

M core/obsolete.php

  • Added $g_show_user_email. Note that currently the obsolete is not included
    anywhere. Julian will fix that.

M core/print_api.php
(get_email_link_with_subject): Updated to use $g_show_user_email_threshold.
(get_email_link): Updated to use $g_show_user_email_threshold.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1764 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9

mod - config_defaults_inc.php Diff File
mod - core/access_api.php Diff File
mod - core/obsolete.php Diff File
mod - core/print_api.php Diff File
mod - constant_inc.php Diff File