Commit f9d44bc8 authored by Ryan Herbert's avatar Ryan Herbert
Browse files

default.py add missing permission on generic

parent a5c9c79e
......@@ -150,6 +150,7 @@ def init_db_helper(force=False, admin_email="plop@plop.com", admin_password="123
auth.add_permission(id_admin_group, PermissionEnum.access.value, db.sample_set, 0)
auth.add_permission(id_admin_group, PermissionEnum.access.value, db.patient, 0)
auth.add_permission(id_admin_group, PermissionEnum.access.value, db.run, 0)
auth.add_permission(id_admin_group, PermissionEnum.access.value, db.generic, 0)
auth.add_permission(id_admin_group, PermissionEnum.access.value, db.config, 0)
auth.add_permission(id_admin_group, PermissionEnum.access.value, db.auth_group, 0)
auth.add_permission(id_admin_group, PermissionEnum.admin.value, db.sample_set, 0)
......
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