Commit c08703d6 authored by HERBERT Ryan's avatar HERBERT Ryan
Browse files

group/info.html read permission can now be given from group view

parent 8b89484b
......@@ -21,6 +21,9 @@ query = db(
create patient
<input type="checkbox" name="sample_set" onclick="db.group_rights(this.checked, this.name, 'create', {{=group.id}});" {{if auth.has_permission('create', 'sample_set', group_id=group.id) :}}{{="checked"}}{{pass}}>
view patient
<input type="checkbox" name="sample_set" onclick="db.group_rights(this.checked, this.name, 'read', {{=group.id}});" {{if auth.has_permission('read', 'sample_set', group_id=group.id) :}}{{="checked"}}{{pass}}>
edit patient
<input name="sample_set" type="checkbox" onclick="db.group_rights(this.checked, this.name, 'admin', {{=group.id}});" {{if auth.has_permission('admin', 'sample_set', group_id=group.id) :}}{{="checked"}}{{pass}}>
......
Supports Markdown
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