Is there any way i can stop users (except admins) from being able to add new contacts to the address book.... and only be able to edit their own.
This is how it should work (add to config.php):
$CONFIG_RIGHTS_MANAGER['create'] = 'return $this->currentUser->isAtLeast("manager");';
Unfortunately TABR 3.3 does not disable the menu and PHP exits due to the undefined errorHandler variable if one uses the menu.
To remove the error messages you will need to patch the following classes (diff SVN 612 to previous): PageList.class.php http://tab-2.svn.sourceforge.net/viewvc/tab-2/trunk/lib/frontEnd/PageList.class.php?r1=555&r2=612
Optional Fixes: PageContact.class.php PageContactEdit.class.php
Anyone, please help to enhance the TABR Wiki! Thanks! http://tab-2.wiki.sourceforge.net/Configuration
Log in to post a comment.
Is there any way i can stop users (except admins) from being able to add new contacts to the address book.... and only be able to edit their own.
This is how it should work (add to config.php):
$CONFIG_RIGHTS_MANAGER['create'] = 'return $this->currentUser->isAtLeast("manager");';
Unfortunately TABR 3.3 does not disable the menu and PHP exits due to the undefined errorHandler variable if one uses the menu.
To remove the error messages you will need to patch the following classes (diff SVN 612 to previous):
PageList.class.php
http://tab-2.svn.sourceforge.net/viewvc/tab-2/trunk/lib/frontEnd/PageList.class.php?r1=555&r2=612
Optional Fixes:
PageContact.class.php
PageContactEdit.class.php
Anyone, please help to enhance the TABR Wiki! Thanks!
http://tab-2.wiki.sourceforge.net/Configuration