User Tools

  • Logged in as: anonymous (anonymous)
  • Log Out

Site Tools


mantisbt:enabling_anonymous_access

Enabling Anonymous Access

Mantis can be setup in a way to allow users to access Mantis without having to sign up or login. For security reasons this feature is disabled by default. Mantis allows customising what an anonymous user can access and can modify the same way it does for normal user. This is done by requiring that a user account be created and granted all the required access and then being selected as the account to be used for anonymous access.

  • Create a user account
    • Name: typically “anonymous” or “guest”.
    • Real Name: leave empty.
    • Email: anonymous@localhost (or leave empty if you also set $g_allow_blank_email = ON).
    • Access Level: Typically viewer or reporter depending on the requirement.
    • Enabled: true
    • Protected: true
  • Provide the account with access to the necessary “private” projects. The anonymous user will automatically get access to “public” projects.
  • Set the following configuration options in config_inc.php.
# --- anonymous login -----------
$g_allow_anonymous_login = ON;
$g_anonymous_account = 'anonymous';
 
# Optionally, if you want to use blank email addresses
$g_allow_blank_email = ON;
mantisbt/enabling_anonymous_access.txt · Last modified: 2008/10/29 04:25 by 127.0.0.1

Driven by DokuWiki