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:
Nicolas Le Goff
2014-05-23 10:45:54 +02:00

View File

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