mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Add AuthenticationServiceProvider
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
{% set length = '<span class="counter">' ~ list.getEntries().count() ~ '</span>' %}
|
||||
<li class="list" style="padding:2px;">
|
||||
<a href="/prod/push/edit-list/{{ list.getId() }}/" class="list_link">
|
||||
{% if list.getOwner(app['phraseanet.user'], app).getRole() >= constant('\\Entities\\UsrListOwner::ROLE_EDITOR') %}
|
||||
{% if list.getOwner(app['authentication'].getUser(), app).getRole() >= constant('\\Entities\\UsrListOwner::ROLE_EDITOR') %}
|
||||
<img src="/skins/prod/Push/list-icon.png" />
|
||||
{% else %}
|
||||
<img src="/skins/icons/SHARE16.png" />
|
||||
|
Reference in New Issue
Block a user