Commit c53c8f99 authored by Marc Duez's avatar Marc Duez

server : remove access to group/user/config for normal users

parent 7a5ab8b9
......@@ -2,11 +2,13 @@
<div id="db_menu">
<a class="button" onclick="db.call('patient/index');">patients</a>
<a class="button" onclick="db.call('config/index');">configs</a>
- - -
{{if auth.has_membership("admin"):}}
<a class="button" onclick="db.call('config/index');">configs</a>
<a class="button" onclick="db.call('group/index');">groups</a>
<a class="button" onclick="db.call('user/index');">users</a>
- - -
{{pass}}
<a class="button" onclick="db.call('default/help');">help</a>
</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment