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
Requires
- php: >=5.3.2
- symfony/framework-bundle: ~2.1|~3.0
- symfony/security: ~2.1|~3.0
Suggests
- doctrine/doctrine-bundle: Using with Doctrine ORM
- doctrine/mongodb-odm-bundle: Using with Doctrine MongoDB ODM
- friendsofsymfony/user-bundle: Easy to use and override default provider and entity classes
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
- Implement ActualUserInterface in your User class.
- Modify security config to use custom provider service
- Enjoy!