To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 764a0395 authored by Reto Da Forno's avatar Reto Da Forno

fix for admin access rights

parent 4078d5b5
......@@ -515,8 +515,8 @@ def main(argv):
# Get tg_adapt_types_fk of installed target adaptors on observer:
stati = "'online'"
if isadmin:
stati += ", 'develop'"
if isinternal:
stati += ", 'develop', 'internal'"
elif isinternal:
stati += ", 'internal'"
cursor.execute(sql_adap %(obsid, stati))
adaptTypesFk = cursor.fetchone()
......
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