2017 © Pedro Peláez
 

silverstripe-module silverstripe-userswitcher

During testing, allows Admins to quickly switch to act as a different user in the system

image

sheadawson/silverstripe-userswitcher

During testing, allows Admins to quickly switch to act as a different user in the system

  • Thursday, February 8, 2018
  • by sheadawson
  • Repository
  • 4 Watchers
  • 18 Stars
  • 2,486 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 11 Versions
  • 15 % Grown

The README.md

SilverStripe User Switcher

The module adds a small form both in the frontend to quickly login as any user in the system. The intended use is in testing environments, to assist in the testing of SilverStripe applications that would otherwise require multiple browsers open with users of various roles and permissions logged in., (*1)

User Switching is only available to ADMIN users and only when running in dev or test mode., (*2)

Screenshot

Screenshot, (*3)

Requirements

  • SilverStripe ^4.0

Integration with Better Navigator

If you have installed the Better Navigator module (recommended), the userwitcher dropdown field will be placed in the Better Navigator tools container instead of the bottom of the page. https://github.com/jonom/silverstripe-betternavigator, (*4)

NOTE: currently you will need to copy userswitcher/templates/BetterNavigator to either your theme dir or project dir for this to work., (*5)

Disable default jQuery

If using this on the frontend, you can disable jQuery like so:, (*6)

Requirements::block(THIRDPARTY_DIR . '/jquery/jquery.js');

Install

$ composer require sheadawson/silverstripe-userswitcher

Once the module files are in your project, login as and ADMIN user and run ?flush=all, (*7)

TODO

Get working in SilverStripe 4 CMS. Currently only upgraded for frontend use., (*8)

The Versions

08/02 2018

dev-master

9999999-dev

During testing, allows Admins to quickly switch to act as a different user in the system

  Sources   Download

BSD-3-Clause BSD License

The Requires

 

by Shea Dawson

testing silverstripe

13/12 2017

2.0.x-dev

2.0.9999999.9999999-dev

During testing, allows Admins to quickly switch to act as a different user in the system

  Sources   Download

BSD License

The Requires

 

by Shea Dawson

testing silverstripe

13/12 2017

2.0.0

2.0.0.0

During testing, allows Admins to quickly switch to act as a different user in the system

  Sources   Download

BSD License

The Requires

 

by Shea Dawson

testing silverstripe

12/01 2017

1.0.x-dev

1.0.9999999.9999999-dev

During testing, allows Admins to quickly switch to act as a different user in the system

  Sources   Download

BSD License

The Requires

 

by Shea Dawson

testing silverstripe

12/01 2017

1.0.4

1.0.4.0

During testing, allows Admins to quickly switch to act as a different user in the system

  Sources   Download

BSD License

The Requires

 

by Shea Dawson

testing silverstripe

12/01 2017

1.0.3

1.0.3.0

During testing, allows Admins to quickly switch to act as a different user in the system

  Sources   Download

BSD License

The Requires

 

by Shea Dawson

testing silverstripe

16/02 2016

1.0.2

1.0.2.0

During testing, allows Admins to quickly switch to act as a different user in the system

  Sources   Download

BSD License

The Requires

 

by Shea Dawson

testing silverstripe

05/11 2015

dev-tidyup

dev-tidyup

During testing, allows Admins to quickly switch to act as a different user in the system

  Sources   Download

BSD License

The Requires

 

by Shea Dawson

testing silverstripe

05/11 2015

1.0.1

1.0.1.0

During testing, allows Admins to quickly switch to act as a different user in the system

  Sources   Download

BSD License

The Requires

 

by Shea Dawson

testing silverstripe

21/10 2013

1.0.0

1.0.0.0

During testing, allows Admins to quickly switch to act as a different user in the system

  Sources   Download

BSD License

The Requires

 

by Shea Dawson

testing silverstripe

29/08 2013

0.1.1

0.1.1.0

During testing, allows Admins to quickly switch to act as a different user in the system

  Sources   Download

BSD License

The Requires

 

by Shea Dawson

testing silverstripe