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:
@@ -43,7 +43,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% if app['authentication'].getUser().ACL().is_admin() %}
|
||||
{% if app['acl'].get(app['authentication'].getUser()).is_admin() %}
|
||||
<div class="db_infos">
|
||||
<h2>{% trans 'admin::base: Version' %}</h2>
|
||||
|
||||
|
Reference in New Issue
Block a user