[geeklog-cvs] geeklog-1.3/public_html/admin user.php,1.89,1.90

blaine at iowaoutdoors.org blaine at iowaoutdoors.org
Fri Mar 25 16:34:10 EST 2005


Update of /var/cvs/geeklog-1.3/public_html/admin
In directory www:/tmp/cvs-serv20718/public_html/admin

Modified Files:
	user.php 
Log Message:
When editing a user - use SEC_hasRights('group.edit') instead of SEC_inGroup('Group Admin') so that you can create a custom group and just add the group admin permission.


Index: user.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/admin/user.php,v
retrieving revision 1.89
retrieving revision 1.90
diff -C2 -d -r1.89 -r1.90
*** user.php	31 Jan 2005 10:12:28 -0000	1.89
--- user.php	25 Mar 2005 21:34:08 -0000	1.90
***************
*** 187,191 ****
      }
  
!     if (SEC_inGroup('Group Admin')) {
          $user_templates->set_var('lang_securitygroups', $LANG_ACCESS['securitygroups']);
          $user_templates->set_var('lang_groupinstructions', $LANG_ACCESS['securitygroupsmsg']);
--- 187,191 ----
      }
  
!     if (SEC_hasRights('group.edit')) {
          $user_templates->set_var('lang_securitygroups', $LANG_ACCESS['securitygroups']);
          $user_templates->set_var('lang_groupinstructions', $LANG_ACCESS['securitygroupsmsg']);




More information about the geeklog-cvs mailing list