Setting new user default access level

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
wadesworld
Posts: 3
Joined: 04 Nov 2005, 19:47

Setting new user default access level

Post by wadesworld »

I'm attempting to add this to config_inc.php:

$g_default_new_account_access_level = 'updater';

However, when I do so, new users are created with an access level of:

@0@

Additionally, having set:

$g_default_advanced_report = 'ON';


Is not appearing to have any effect - new users do not have that preference on.

Am I putting these in the wrong place? Other customizations in config_inc.php ARE working, such as:

$g_from_email = 'noreply@blah.com';

Any thoughts?

Wade
Narcissus
Developer
Posts: 338
Joined: 17 Feb 2005, 09:45

Post by Narcissus »

The values that you are trying to set are not strings, they are defined values.

Instead of:
$g_default_new_account_access_level = 'updater';

Use:
$g_default_new_account_access_level = UPDATER;


Instead of:
$g_default_advanced_report = 'ON';

Use:
$g_default_advanced_report = ON;


Note that there are no quotes around those values.

Hope this helps,
Lincoln.
Post Reply