To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Show
Ignore:
Timestamp:
07/20/10 12:01:58 (22 months ago)
Author:
tboutell
Message:

Comments explaining when and how to modify web/index.php (we at P'unk should leave it alone so
Symfony devs see what they expect; once you've cloned this into your own repo though, go ahead
and change it if you wish).

Separate superadmin and admin test users in the default fixtures (we recommend pulling the
plug on superadmin before you hand the keys to your client)

Location:
sandboxes/asandbox/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • sandboxes/asandbox/trunk

  • sandboxes/asandbox/trunk/lib/model/doctrine/sfDoctrineGuardPlugin/base/BasesfGuardUser.class.php

    r931 r1803  
    1616 * @property Doctrine_Collection $groups 
    1717 * @property Doctrine_Collection $permissions 
     18 * @property Doctrine_Collection $aPage 
     19 * @property Doctrine_Collection $aAreaVersion 
     20 * @property Doctrine_Collection $Accesses 
     21 * @property Doctrine_Collection $MediaItems 
    1822 * @property Doctrine_Collection $BlogAuthorItems 
    1923 * @property Doctrine_Collection $BlogEditorItems 
     
    2125 * @property Doctrine_Collection $BlogCategories 
    2226 * @property Doctrine_Collection $BlogCategoryUsers 
    23  * @property Doctrine_Collection $aPage 
    24  * @property Doctrine_Collection $aAreaVersion 
    25  * @property Doctrine_Collection $Accesses 
    26  * @property Doctrine_Collection $MediaItems 
    2727 * @property Doctrine_Collection $sfGuardUserPermission 
    2828 * @property Doctrine_Collection $sfGuardUserGroup 
     
    3939 * @method Doctrine_Collection getGroups()                Returns the current record's "groups" collection 
    4040 * @method Doctrine_Collection getPermissions()           Returns the current record's "permissions" collection 
     41 * @method Doctrine_Collection getAPage()                 Returns the current record's "aPage" collection 
     42 * @method Doctrine_Collection getAAreaVersion()          Returns the current record's "aAreaVersion" collection 
     43 * @method Doctrine_Collection getAccesses()              Returns the current record's "Accesses" collection 
     44 * @method Doctrine_Collection getMediaItems()            Returns the current record's "MediaItems" collection 
    4145 * @method Doctrine_Collection getBlogAuthorItems()       Returns the current record's "BlogAuthorItems" collection 
    4246 * @method Doctrine_Collection getBlogEditorItems()       Returns the current record's "BlogEditorItems" collection 
     
    4448 * @method Doctrine_Collection getBlogCategories()        Returns the current record's "BlogCategories" collection 
    4549 * @method Doctrine_Collection getBlogCategoryUsers()     Returns the current record's "BlogCategoryUsers" collection 
    46  * @method Doctrine_Collection getAPage()                 Returns the current record's "aPage" collection 
    47  * @method Doctrine_Collection getAAreaVersion()          Returns the current record's "aAreaVersion" collection 
    48  * @method Doctrine_Collection getAccesses()              Returns the current record's "Accesses" collection 
    49  * @method Doctrine_Collection getMediaItems()            Returns the current record's "MediaItems" collection 
    5050 * @method Doctrine_Collection getSfGuardUserPermission() Returns the current record's "sfGuardUserPermission" collection 
    5151 * @method Doctrine_Collection getSfGuardUserGroup()      Returns the current record's "sfGuardUserGroup" collection 
     
    6161 * @method sfGuardUser         setGroups()                Sets the current record's "groups" collection 
    6262 * @method sfGuardUser         setPermissions()           Sets the current record's "permissions" collection 
     63 * @method sfGuardUser         setAPage()                 Sets the current record's "aPage" collection 
     64 * @method sfGuardUser         setAAreaVersion()          Sets the current record's "aAreaVersion" collection 
     65 * @method sfGuardUser         setAccesses()              Sets the current record's "Accesses" collection 
     66 * @method sfGuardUser         setMediaItems()            Sets the current record's "MediaItems" collection 
    6367 * @method sfGuardUser         setBlogAuthorItems()       Sets the current record's "BlogAuthorItems" collection 
    6468 * @method sfGuardUser         setBlogEditorItems()       Sets the current record's "BlogEditorItems" collection 
     
    6670 * @method sfGuardUser         setBlogCategories()        Sets the current record's "BlogCategories" collection 
    6771 * @method sfGuardUser         setBlogCategoryUsers()     Sets the current record's "BlogCategoryUsers" collection 
    68  * @method sfGuardUser         setAPage()                 Sets the current record's "aPage" collection 
    69  * @method sfGuardUser         setAAreaVersion()          Sets the current record's "aAreaVersion" collection 
    70  * @method sfGuardUser         setAccesses()              Sets the current record's "Accesses" collection 
    71  * @method sfGuardUser         setMediaItems()            Sets the current record's "MediaItems" collection 
    7272 * @method sfGuardUser         setSfGuardUserPermission() Sets the current record's "sfGuardUserPermission" collection 
    7373 * @method sfGuardUser         setSfGuardUserGroup()      Sets the current record's "sfGuardUserGroup" collection 
     
    144144             'foreign' => 'permission_id')); 
    145145 
     146        $this->hasMany('aPage', array( 
     147             'local' => 'id', 
     148             'foreign' => 'author_id')); 
     149 
     150        $this->hasMany('aAreaVersion', array( 
     151             'local' => 'id', 
     152             'foreign' => 'author_id')); 
     153 
     154        $this->hasMany('aAccess as Accesses', array( 
     155             'local' => 'id', 
     156             'foreign' => 'user_id')); 
     157 
     158        $this->hasMany('aMediaItem as MediaItems', array( 
     159             'local' => 'id', 
     160             'foreign' => 'owner_id')); 
     161 
    146162        $this->hasMany('aBlogItem as BlogAuthorItems', array( 
    147163             'local' => 'id', 
     
    166182             'foreign' => 'user_id')); 
    167183 
    168         $this->hasMany('aPage', array( 
    169              'local' => 'id', 
    170              'foreign' => 'author_id')); 
    171  
    172         $this->hasMany('aAreaVersion', array( 
    173              'local' => 'id', 
    174              'foreign' => 'author_id')); 
    175  
    176         $this->hasMany('aAccess as Accesses', array( 
    177              'local' => 'id', 
    178              'foreign' => 'user_id')); 
    179  
    180         $this->hasMany('aMediaItem as MediaItems', array( 
    181              'local' => 'id', 
    182              'foreign' => 'owner_id')); 
    183  
    184184        $this->hasMany('sfGuardUserPermission', array( 
    185185             'local' => 'id',