mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Merge pull request #1088 from nlegoff/fix-phras-125
[3.8][PHRAS-125] Fix user right issue in admin tree
This commit is contained in:
@@ -187,9 +187,6 @@
|
||||
{% endif %}
|
||||
|
||||
{% if (app['authentication'].getUser().ACL.has_right_on_base( collection.get_base_id(), 'canadmin')) %}
|
||||
{% if (app['authentication'].getUser().ACL.has_right_on_base( collection.get_base_id(), 'canmodifrecord')
|
||||
and app['authentication'].getUser().ACL.has_right_on_base( collection.get_base_id(), 'manage')
|
||||
and app['authentication'].getUser().ACL.has_right_on_sbas( sbas_id, 'bas_manage') ) %}
|
||||
<li>
|
||||
<a target="right" href="{{ path('admin_users_search', { 'base_id' : [ collection.get_base_id() ] }) }}" class="ajax">
|
||||
<img src="/skins/admin/Users.png"/>
|
||||
@@ -197,7 +194,6 @@
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user