[ Index ]

PHP Cross Reference of ACL Module

title

Body

[close]

/components/strategies/nestedSet/pathMaterialization/ -> config.php (source)

   1  <?php
   2  
   3  return array(
   4      
   5      /**

   6       * The Prefix of your classes

   7       * @see Strategy::getClass 

   8       */
   9      'prefix' => 'Pm',
  10      
  11      /**

  12       * Enables or disables the strict Mode

  13       * If the strict mode is disabled, objects which are not found are simly created

  14       * on the fly (Access Control Objects as well as Access Request Objects) 

  15       */
  16      'strictMode' => false,
  17      
  18      /**

  19       * The permissions of the Guest-Group will used whenever the requesting object

  20       * cannot be determined (for example if the user isn't logged in)

  21       * If you want to disable the usage of Guest-groups completely, just set ot to 

  22       * NULL 

  23       */
  24      'guestGroup' => 'Guest',
  25      /**

  26       * Enables the access-check in two layers: if enabled, the access will be firstly checked

  27       * against a general permission-system and only (and only if) if that returns false, the 

  28       * regular lookup will take place  

  29       */
  30      'enableGeneralPermissions' => true,
  31      /**

  32       * Enables the business rules for all actions (automatical lookup) _except_ the read-action

  33       */
  34      'enableBusinessRules' => true,
  35      /**

  36       * Sets the direction in which business-rules are applied. Default is to check

  37       * both sides 

  38       * possible values: "both", "aro" and "aco"

  39       */
  40      'lookupBusinessRules' => 'both',
  41      /**

  42       * Defines which permissions are automatically assigned to the creator of an object upon its creation

  43       * default: all

  44       * You can overwrite this using the autoPermissions-value of each object 

  45       */
  46      'autoPermissions' => '*',
  47      /**

  48       * Enables the restriction of the grant-action

  49       * Note: If you enable this and assign no autoPermissions at all, only general permissions will

  50       * grant something at all 

  51       */
  52      'enableGrantRestriction' => true,
  53      /**

  54       * Enables you to restrict WHAT an Aro can grant, if it can grant something at all

  55       */
  56      'enableSpecificGrantRestriction' => false,
  57      /**

  58       * Permissions which are allowed for all the users on all objects

  59       * default: only create 

  60       */
  61      'generalPermissions' => array(),
  62  );
  63  
  64  ?>


Generated: Sun Jul 1 19:24:45 2012 Cross-referenced by PHPXref 0.7.1