11ya/actual-user-bundle

Symfony bundle to refresh user roles after its changing

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

dev-master 2016-11-29 21:05 UTC

This package is not auto-updated.

Last update: 2024-11-09 20:39:37 UTC


README

This bundle provides an opportunity to refresh user roles after its changing without re-authentication

Installation

1. Install this bundle using composer

    $ composer require 11ya/actual-user-bundle:dev-master

or add the package to your composer.json file directly.

2. Register the bundle in app/AppKernel.php

    $bundles = array(
        // ...
        new Ilya\ActualUserBundle\IlyaActualUserBundle(),
    );

Usage

  1. Implement ActualUserInterface in your User class.
  2. Modify security config to use custom provider service
  3. Enjoy!