Commit 75e96632 authored by Marc Duez's avatar Marc Duez

server : check user for admin panel

parent 0c3fab65
......@@ -8,13 +8,16 @@ if request.env.http_origin:
## return admin_panel
def index():
if auth.has_membership("admin"):
return dict(message=T(''))
def result():
if auth.has_membership("admin"):
return dict(message=T(''))
def run_all():
if auth.has_membership("admin"):
query = db(
(db.data_file.sequence_file_id==db.sequence_file.id)
& (db.data_file.config_id==db.config.id)
......
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