Download the PHP package bamboo/switch-user-bundle without Composer

On this page you can find all versions of the php package bamboo/switch-user-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package switch-user-bundle

BambooSwitchUserBundle

License: GPL v2

Summary

User switching for eZ Publish 5.4, eZ Platform 1.x eZ Platform 2.x.

Copyright

Copyright (C) 2016-2018 Bamboo Data Ltd

License

Licensed under GNU General Public License 2.0

Requirements

Requires eZ Publish 5.4 or above.

Installation

Install using composer:

composer require bamboo/switch-user-bundle

Edit app/EzPublishKernel.php or ezpublish/EzPublishKernel.php and add the following to the list of bundles in registerBundles():

new Bamboo\SwitchUserBundle\BambooSwitchUserBundle(),

Edit app/config/routing.php or ezpublish/config/routing.php and add the following:

bamboo_switch_user:
    resource: "@BambooSwitchUserBundle/Resources/config/routing.yml"

Configuration

By default, switching is allowed to any user not in the 'Administrator users' user group. To change this configuration, add a block to app/config/config.yml or ezpublish/config/config.yml. For example:

bamboo_switch_user:
    groups:
        deny: []
        allow: [ 128 ]

This will only allow switching to users in user group with ID 128.

Usage

Decide which roles will have the ability to switch user account and in the admin interface add the switchuser/manage policy to them. If only the 'Administrator users' user group needs the ability then you can skip this step.

Users with this policy will be able to switch to any permitted user using the path:

/switch-user/{username}

where {username} is the user's login or:

/switch-user/id/{id}

where {id} is the ID of the user.


All versions of switch-user-bundle with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bamboo/switch-user-bundle contains the following files

Loading the files please wait ....