-
Notifications
You must be signed in to change notification settings - Fork 0
git svn clone of http://svn.symfony-project.com/plugins/sfGuardUserSwitcherPlugin
License
trendone/sfGuardUserSwitcherPlugin
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
The `sfGuardUserSwitcherPlugin` is a symfony plugin that provides a way to
switch the user without login data.
# Installation
* Install the plugin (via a Subversion checkout)
svn co http//svn.symfony-project.com/plugins/sfGuardUserSwitcherPlugin/trunk plugins/sfGuardUserSwitcherPlugin
* Install the plugin (via a package)
symfony plugin:install sfGuardUserSwitcherPlugin
* Enable one or more modules in your `settings.yml` (optional).
For your frontend application: sfGuardUserSwitcherPlugin
all:
.settings:
enabled_modules: [default, sfGuardUserSwitcherPlugin]
* Add component to your layout
[PHP]
include_component('sfGuardUserSwitcher', 'index');
* Clear you cache
symfony cc
# Permission
By default only super admins are allowed to switch the user you change this
by override the function `hasPermissionToSwitch` in the component.About
git svn clone of http://svn.symfony-project.com/plugins/sfGuardUserSwitcherPlugin
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published