Posted on 28 July 2009, 21:38
by ygleyzer
Admin authentication using NIS group
Added new authentication schemenis.group.
In this scheme user got admin privileges if he/she belongs to declared NIS group
Add next lines into index.php
$AUTHENTICATION_SCHEMA = 'nis.group';
$ADMIN_NIS_GROUP = 'nis_group';You can also define more than one group:
$ADMIN_NIS_GROUP = array('nis_group1','nis_group2','nis_group3');