mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
PHRAS-508_acl-cache
- wip
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
{{ 'report::Modification du document -- je ne me souviens plus de quoi...' | trans }}
|
||||
{% endif %}
|
||||
<span class="actor">
|
||||
{% if app.getAclForUser(app.getAuthenticatedUser()).has_right_on_base(record.get_base_id(), 'canreport') %}
|
||||
{% if app.getAclForUser(app.getAuthenticatedUser()).has_right_on_base(record.get_base_id(), constant('\\ACL::CANREPORT')) %}
|
||||
{% if done['user'] and done['user'].getId() != app.getAuthenticatedUser().getId() %}
|
||||
{% set user_infos = done['user'].getDisplayName() %}
|
||||
{% trans with {'%user_infos%' : user_infos} %}report:: par %user_infos%{% endtrans %}
|
||||
|
Reference in New Issue
Block a user