Add AuthenticationServiceProvider

This commit is contained in:
Romain Neutron
2013-02-15 11:08:05 +01:00
parent f5c5aebe22
commit d2bc4f4a23
117 changed files with 610 additions and 535 deletions

View File

@@ -47,7 +47,7 @@
<div class="list">
{% set feed_id = entry.get_feed().get_id() %}
{% for feed in feeds.get_feeds() %}
{% if feed.is_publisher(app['phraseanet.user']) %}
{% if feed.is_publisher(app['authentication'].getUser()) %}
<div class="feed {% if loop.index is odd%}odd{% endif %} {% if feed_id == feed.get_id() %}selected{% endif %}">
<span>{{ feed.get_title() }}</span>
<input type="hidden" value="{{ feed.get_id() }}"/>