Tuesday, October 14, 2008

dotproject default user role for LDAP

Default user role can be changed in file classes/authenticator.class.php
LDAP users are created in function createsqluser the first time they log in. So the line to modify is
$acl->insertUserRole($acl->get_group_id('anon'), $this->user_id);
update it to
$acl->insertUserRole($acl->get_group_id('normal'), $this->user_id);

1 comment:

Prabhat said...

Thanks Buddy