mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Use ACL service provider to get user's ACL
This commit is contained in:
@@ -130,7 +130,7 @@
|
||||
{% if usr.is_template() %}
|
||||
<img title="{% trans 'This is a template' %}" src="/skins/icons/template.png"/>
|
||||
{% else %}
|
||||
{% if usr.ACL().is_phantom() %}
|
||||
{% if app['acl'].get(usr.).is_phantom() %}
|
||||
<img title="{% trans 'This user has no rights' %}" src="/skins/admin/ghost.png"/>
|
||||
{% endif %}
|
||||
{{usr.get_id()}}
|
||||
|
||||
Reference in New Issue
Block a user