mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Add AuthenticationServiceProvider
This commit is contained in:
@@ -32,10 +32,10 @@
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
{% if app['phraseanet.user'].ACL().get_granted_base(["canadmin"]) | length > 0 %}
|
||||
{% if app['authentication'].getUser().ACL().get_granted_base(["canadmin"]) | length > 0 %}
|
||||
<select id="othcollsel" name="othcollsel" disabled>
|
||||
<option>{% trans "choisir" %}</option>
|
||||
{% for baseId, collection in app['phraseanet.user'].ACL().get_granted_base(["canadmin"]) %}
|
||||
{% for baseId, collection in app['authentication'].getUser().ACL().get_granted_base(["canadmin"]) %}
|
||||
<option value="{{ baseId }}">{{ collection.get_name() }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user