Use ACL service provider to get user's ACL

This commit is contained in:
Nicolas Le Goff
2013-10-31 11:13:14 +01:00
parent 21eec6dbbe
commit 1fdf30c6af
117 changed files with 619 additions and 619 deletions

View File

@@ -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>