This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » eZ Publish 5 Platform » Access control to...
expandshrink

Access control to JMSTranslationBundle UI

Access control to JMSTranslationBundle UI

Monday 21 October 2013 11:03:30 am - 1 reply

Hi, I have installed JMSTranslationBundle UI to manage translations.

The problem is that the UI is accessible from the front-end without any authentication. What I would like is to create a Symfony firewall/access_control which requires users to be logged in as admin in the ez backend and redirect to the ez login form if they aren't.

I have read about Symfony security at and around http://symfony.com/doc/current/book/security.html but I miss how it can be integrated with the EZ security mechanism.

I would really like to avoid having a separate authentication system just for the translation bundle.

BTW if anyone knows of a better alternative to JMS translation, I would like to hear about that too.

 thanks

Monday 21 October 2013 2:11:52 pm

Hi

JMSTranslationBundle certainly looks very interesting.

Howver, according to the The Translation Web UI doc at http://jmsyst.com/bundles/JMSTranslationBundle/master/webinterface

This interface is disabled by default, and it should only be enabled in your development environment as it will modify your translation files directly.

Considering the implications of manipulation the translations files (like the need for recreating cache files) I doubt that such a tool should be used in a productive environment where the integration into an authentication system would really be needed. Wouldn't a basic authentication be sufficient in this case?

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from