disabling new users registration

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
zloba00
Posts: 10
Joined: 01 Oct 2008, 09:57
Contact:

disabling new users registration

Post by zloba00 »

How i can disable new user registration? mantis version: 1.1.2
zloba00
Posts: 10
Joined: 01 Oct 2008, 09:57
Contact:

Re: disabling new users registration

Post by zloba00 »

Or how i can do that all newly registered users become pending till manual approve?
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: disabling new users registration

Post by atrol »

To disable signup

Manage->Manage Configuration
Configuration option: allow_signup
Type: integer
Value: 0


To allow signup, but not giving rights to projects until you approve

Manage->Manage Projects
choose your project
set "View Status" to "private"

On the same page you have to assign by hand every new user to the projects you want.
Use "Add user to project"
Please use Search before posting and read the Manual
zloba00
Posts: 10
Joined: 01 Oct 2008, 09:57
Contact:

Re: disabling new users registration

Post by zloba00 »

thanks! it helps :D
levi.hungary
Posts: 3
Joined: 09 Jun 2009, 08:58

Re: disabling new users registration

Post by levi.hungary »

Yes, it works.
judan
Posts: 14
Joined: 14 Jan 2013, 18:26
Location: Georgetown, Guyana
Contact:

Re: disabling new users registration

Post by judan »

I want to allow users to sign up for account but their account will be disabled until manually changed by admin. How do i do this?
~Jailall~
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: disabling new users registration

Post by atrol »

judan wrote:I want to allow users to sign up for account but their account will be disabled until manually changed by admin. How do i do this?
There is no configuration option for it. You would have to change the source code to get it.
IMO the better approach is to set the default access level of new users to "Viewer" by adding the following line to config_inc.php

Code: Select all

$g_default_new_account_access_level = VIEWER;
and to give them higher access level if needed.
Please use Search before posting and read the Manual
dunnetbr
Posts: 1
Joined: 21 Aug 2013, 16:51
Location: Ottawa, ON, Canada

Re: disabling new users registration

Post by dunnetbr »

IMO the better approach is to set the default access level of new users to "Viewer" by adding the following line to config_inc.php
I am new to Mantis and do not have access to the source code.Can you do this via Configuration? If yes could you kindly provide more detailed instruction or screenshot please?

Using 1.2.15.
atrol
Site Admin
Posts: 8378
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: disabling new users registration

Post by atrol »

Goto the bottom of page Manage->Manage Configuration
Choose/enter the following values:
Username: All Users
Project Name: All Projects
Configuration option: default_new_account_access_level
Type: integer
Value: 10

Click "Set Configuration Option"
Please use Search before posting and read the Manual
Post Reply