Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with JMS @Secure or @PreAuthorize Annotations. #3

Closed
akira8 opened this issue Dec 8, 2011 · 3 comments
Closed

Doesn't work with JMS @Secure or @PreAuthorize Annotations. #3

akira8 opened this issue Dec 8, 2011 · 3 comments

Comments

@akira8
Copy link

akira8 commented Dec 8, 2011

If I put, @PreAuthorize("hasRole('ROLE_USER') or hasRole('ROLE_ADMIN')") with @pdf() annotation it end's up with generating PDF without content being rendered.

@psliwa
Copy link
Owner

psliwa commented Dec 8, 2011

Do you use symfony 2.1 and JMSSecurityExtraBundle from master branch? Currently bundle is not tested with symfony 2.1 (master branch), but I will check and fix it soon.

Thanks for report.

@akira8
Copy link
Author

akira8 commented Dec 9, 2011

I use Symfony 2.0.6 with newest vendors. They had some changes in JMS, probably it is the case. Good job! Thank you and good luck!

@psliwa
Copy link
Owner

psliwa commented Dec 12, 2011

fixed.

@psliwa psliwa closed this as completed Dec 12, 2011
@DRAKUN DRAKUN mentioned this issue Sep 23, 2012
Armstrong1992 pushed a commit to Armstrong1992/PdfBundle that referenced this issue May 26, 2020
Allow up to sensio/framework-extra-bundle v5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants