[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/admin/inc/ -> hook_acl_manager.inc.php (source)

   1  <?php
   2      /**************************************************************************\
   3      * eGroupWare                                                               *
   4      * http://www.egroupware.org                                                *
   5      * --------------------------------------------                             *
   6      *  This program is free software; you can redistribute it and/or modify it *
   7      *  under the terms of the GNU General Public License as published by the   *
   8      *  Free Software Foundation; either version 2 of the License, or (at your  *
   9      *  option) any later version.                                              *
  10      \**************************************************************************/
  11  
  12      /* $Id: hook_acl_manager.inc.php 17225 2004-10-15 23:06:34Z ralfbecker $ */
  13  
  14      $GLOBALS['acl_manager']['admin']['site_config_access'] = array(
  15          'name' => 'Deny access to site configuration',
  16          'rights' => array(
  17              'List config settings'   => 1,
  18              'Change config settings' => 2
  19          )
  20      );    // added and working ralfbecker
  21  
  22      $GLOBALS['acl_manager']['admin']['account_access'] = array(
  23          'name' => 'Deny access to user accounts',
  24          'rights' => array(
  25              'Account list'    => 1,
  26              'Search accounts' => 2,
  27              'Add account'     => 4,
  28              'View account'    => 8,
  29              'Edit account'    => 16,
  30              'Delete account'  => 32,
  31              'change ACL Rights' => 64
  32          )
  33      );    // was already there and seems to work ralfbecker
  34  
  35      $GLOBALS['acl_manager']['admin']['group_access'] = array(
  36          'name' => 'Deny access to groups',
  37          'rights' => array(
  38              'Group list'    => 1,
  39              'Search groups' => 2,
  40              'Add group'     => 4,
  41  //            'View group'    => 8,            // Will be added in the future
  42              'Edit group'    => 16,
  43              'Delete group'  => 32
  44          )
  45      );    // was already there and seems to work ralfbecker
  46  
  47  /* not usable at the moment
  48      $GLOBALS['acl_manager']['admin']['peer_server_access'] = array(
  49          'name' => 'Deny access to peer servers',
  50          'rights' => array(
  51              'Peer server list'    => 1,
  52              'Search peer servers' => 2,
  53              'Add peer server'     => 4,
  54  //            'View peer server'    => 8,        // there's no view-routine atm.
  55              'Edit peer server'    => 16,
  56              'Delete peer server'  => 32
  57          )
  58      );
  59  */
  60      $GLOBALS['acl_manager']['admin']['applications_access'] = array(
  61          'name' => 'Deny access to applications',
  62          'rights' => array(
  63              'Applications list' => 1,
  64              'Add application'   => 2,
  65              'Edit application'  => 4,
  66              'Delete application'  => 8,
  67              'Register application hooks' => 16
  68          )
  69      );    // added and working ralfbecker
  70  
  71      $GLOBALS['acl_manager']['admin']['global_categories_access'] = array(
  72          'name' => 'Deny access to global categories',
  73          'rights' => array(
  74              'Categories list'   => 1,
  75              'Search categories' => 2,
  76              'Add category'      => 4,
  77              'View category'     => 8,
  78              'Edit category'     => 16,
  79              'Delete category'   => 32,
  80              'Add sub-category'  => 64
  81          )
  82      );    // added and working ralfbecker
  83  
  84      $GLOBALS['acl_manager']['admin']['mainscreen_message_access'] = array(
  85          'name' => 'Deny access to mainscreen message',
  86          'rights' => array(
  87              'Main screen message' => 1,
  88              'Login message'       => 2
  89          )
  90      );    // added and working ralfbecker
  91  
  92      $GLOBALS['acl_manager']['admin']['current_sessions_access'] = array(
  93          'name' => 'Deny access to current sessions',
  94          'rights' => array(
  95              'List current sessions'   => 1,
  96              'Show current action'     => 2,
  97              'Show session IP address' => 4,
  98              'Kill session'            => 8
  99          )
 100      );    // checked and working ralfbecker
 101  
 102      $GLOBALS['acl_manager']['admin']['access_log_access'] = array(
 103          'name' => 'Deny access to access log',
 104          'rights' => array(
 105              'Show access log' => 1
 106          )
 107      );    // added and working ralfbecker
 108  
 109      $GLOBALS['acl_manager']['admin']['error_log_access'] = array(
 110          'name' => 'Deny access to error log',
 111          'rights' => array(
 112              'Show error log' => 1
 113          )
 114      );    // added and working ralfbecker
 115  
 116      $GLOBALS['acl_manager']['admin']['asyncservice_access'] = array(
 117          'name' => 'Deny access to asynchronous timed services',
 118          'rights' => array(
 119              'Asynchronous timed services' => 1
 120          )
 121      );    // added and working ralfbecker
 122  
 123      $GLOBALS['acl_manager']['admin']['db_backup_access'] = array(
 124          'name' => 'Deny access to DB backup and restore',
 125          'rights' => array(
 126              'DB backup and restore' => 1
 127          )
 128      );    // added and working ralfbecker
 129  
 130      $GLOBALS['acl_manager']['admin']['info_access'] = array(
 131          'name' => 'Deny access to phpinfo',
 132          'rights' => array(
 133              'Show phpinfo()' => 1
 134           )
 135       );    // added and working ralfbecker
 136  


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7