JMSSecurityExtraBundle icon indicating copy to clipboard operation
JMSSecurityExtraBundle copied to clipboard

Enhances the Symfony2 Security Component with several new features

Results 44 JMSSecurityExtraBundle issues
Sort by recently updated
recently updated
newest added

Can we expect to have annotations in parent clases? Want to avoid repeating code for it. ``` PHP PARENT: /** * @PreAuthorize("hasRole('ROLE_ADMIN')") */ abstract class BaseAdminController extends Controller { ......

Lately on `app/console cache:clear` or `app/console cache:warmup` I am getting this error message: > PHP Fatal error: Cannot redeclare class EnhancedProxy_73b88e6bf5989f9e4785cea753cad509a15376f1__CG__\JMS\SecurityExtraBundle\Tests\Functional\TestBundle\Controller\PostController in /symfony2-project/app/cache/de_/jms_diextra/lookup_method_classes/JMS-SecurityExtraBundle-Tests-Functional-TestBundle-Controller-PostController.php on line 11 However, that happens only...

When i use @Secure(roles="ROLE_USER"), hhvm always falls with a strange error: Symfony log: request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: ": Stack overflow" at line -1 {"exception":"[object](Symfony\Component\Debug\Exception\FatalErrorException: : Stack overflow at :-1)"}...

Assuming the `foo` variable is a container parameter, the expression `foo['bar']` will be compiled (once #110 allows to compile it) to `$context['container']->getParameter('foo_param')['bar']`. This is broken on PHP 5.3 which does...

It is currently totally unusable: adding it in the expression throws a fatal error because of the missing interface, and its compilation is totally broken.

At this step all extensions are already registered, this looks like a hack but it is the only fix I could find.

Replaces PR #147 having made a mess in commits. Recent commits in upstream repo have been merged. Instead of defaulting DI-configuration of method access control to equivalent of _`PreAuthorize`_ annotation,...

Referring #122, proposing this PR. The MethodSecurityInterceptor throws a special exception when some required roles are missing.

Constants in `hasAnyRoles` expression doesn't work. ``` @Security\PreAuthorize("hasAnyRole(Role::USER, Role::CUSTOMER)") ```

Hello, after installing JMSSecurityExtraBundle I'm receiving the following exception message when I try to assetic:dump on console: [Symfony\Component\DependencyInjection\Exception\InactiveScopeException] You cannot create a service ("request") of an inactive scope ("request"). More...