ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 5055


Ignore:
Timestamp:
Jan 27, 2008, 9:06:22 PM (12 years ago)
Author:
ogawa
Message:

adminにsfGuardPluginを適用

Location:
OpenPNE/branches/work/ogawa/symfony
Files:
25 added
5 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/work/ogawa/symfony/apps/admin/config/filters.yml

    r5051 r5055  
    11rendering: ~
    22web_debug: ~
    3 security:  ~
     3security:
     4  class: sfGuardBasicSecurityFilter
    45
    56# generally, you will want to insert your own filters here
  • OpenPNE/branches/work/ogawa/symfony/apps/admin/config/security.yml

    r5051 r5055  
    11default:
    2   is_secure: off
     2  is_secure: on
  • OpenPNE/branches/work/ogawa/symfony/apps/admin/config/settings.yml

    r5051 r5055  
    2121    etag:                   off
    2222
    23 #all:
    24 #  .actions:
     23all:
     24  .actions:
    2525#    default_module:         default   # Default module and action to be called when
    2626#    default_action:         index     # A routing rule doesn't set it
     
    2929#    error_404_action:       error404  # Or when the requested URL doesn't match any route
    3030#
    31 #    login_module:           default   # To be called when a non-authenticated user
    32 #    login_action:           login     # Tries to access a secure page
    33 #
    34 #    secure_module:          default   # To be called when a user doesn't have
    35 #    secure_action:          secure    # The credentials required for an action
    36 #
     31    login_module:           sfGuardAuth   # To be called when a non-authenticated user
     32    login_action:           signin     # Tries to access a secure page
     33
     34    secure_module:          sfGuardAuth   # To be called when a user doesn't have
     35    secure_action:          secure    # The credentials required for an action
     36
    3737#    module_disabled_module: default   # To be called when a user requests
    3838#    module_disabled_action: disabled  # A module disabled in the module.yml
     
    4141#    unavailable_action:  unavailable  # From an application disabled via the available setting below
    4242#
    43 #  .settings:
     43  .settings:
    4444#    available:              on        # Enable the whole application. Switch to off to redirect all requests to the unavailable module and action.
    4545#
     
    8787#
    8888#    # Activated modules from plugins or from the symfony core
    89 #    enabled_modules:        [default]
    90 #
     89    enabled_modules:        [default, sfGuardAuth, sfGuardGroup, sfGuardUser, sfGuardPermission]
     90
    9191#    # Charset used for the response
    9292#    charset:                utf-8
  • OpenPNE/branches/work/ogawa/symfony/apps/admin/lib/myUser.class.php

    r5051 r5055  
    11<?php
    22
    3 class myUser extends sfBasicSecurityUser
     3class myUser extends sfGuardSecurityUser
    44{
    55}
  • OpenPNE/branches/work/ogawa/symfony/data/sql/sqldb.map

    r5052 r5055  
    11# Sqlfile -> Database map
    22lib.model.schema.sql=propel
     3plugins.sfGuardPlugin.lib.model.schema.sql=propel
Note: See TracChangeset for help on using the changeset viewer.