2017 © Pedro PelĆ”ez
 

symfony1-plugin tw-admin-guard-plugin

symfony 1.x Admin Template plugin

image

thunderwolf/tw-admin-guard-plugin

symfony 1.x Admin Template plugin

  • Thursday, January 2, 2014
  • by thunderwolf
  • Repository
  • 1 Watchers
  • 1 Stars
  • 135 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

twAdminGuardPlugin

Integration of twAdminPlugin with sfGuardPlugin, (*1)

Installation

  • Install and configure sfGuardPlugin, (*2)

  • Install and configure twAdminPlugin, (*3)

Secure your application

To secure a symfony application:, (*4)

  • Enable the module twGuardAuth in settings.yml

``` yaml all: .settings: enabled_modules: [..., twGuardAuth], (*5)



* Change the default login and secure modules in `settings.yml` ``` yaml login_module: twGuardAuth login_action: signin secure_module: twGuardAuth secure_action: secure
  • Optionally add the following routing rules to routing.yml

``` yaml sf_guard_signin: url: /login param: { module: twGuardAuth, action: signin }, (*6)

sf_guard_signout: url: /logout param: { module: twGuardAuth, action: signout }, (*7)

sf_guard_password: url: /request_password param: { module: twGuardAuth, action: password }, (*8)



You can customize the `url` parameter of each route. N.B.: You must have a `@homepage` routing rule (used when a user sign out) These routes are automatically registered by the plugin if the module `sfGuardAuth` is enabled unless you defined `tw_admin_guard_plugin_routes_register` to false in the `app.yml` configuration file: ``` yaml all: tw_admin_guard_plugin: routes_register: false
  • Secure some modules or your entire application in security.yml

``` yaml default: is_secure: on, (*9)



* You're done. Now, if you try to access a secure page, you will be redirected to the login page. If you have loaded the default fixture file, try to login with `admin` as username and `admin` as password. Manage your users, permissions and groups ----------------------------------------- To be able to manage your users, permissions and groups, `sfGuardPlugin` comes with 3 modules that can be integrated in your backend application. These modules are auto-generated thanks to the symfony admin generator. * Enable the modules in `settings.yml` ``` yaml all: .settings: enabled_modules: [..., twAdmin]
  • Access the modules with the default route:, (*10)

    http://www.example.com/backend.php/tw_guard_user

Rest is the same like in sfGuardPlugin Documentation, (*11)

The Versions

02/01 2014

dev-master

9999999-dev http://thunderwolf.net/

symfony 1.x Admin Template plugin

  Sources   Download

MIT

The Requires

 

bootstrap symfony admin guard

01/12 2013

1.0.1

1.0.1.0 http://thunderwolf.net/

symfony 1.x Admin Template plugin

  Sources   Download

MIT

The Requires

 

bootstrap symfony admin guard

31/05 2013

1.0.0

1.0.0.0 http://thunderwolf.net/

symfony 1.x Admin Template plugin

  Sources   Download

The Requires

 

bootstrap symfony admin guard