Verified Commit c485f895 authored by Peter Stanko's avatar Peter Stanko
Browse files

Get project state

parent 09f640e4
Pipeline #30101 passed with stage
in 3 minutes and 39 seconds
......@@ -13,7 +13,7 @@ class NestedCollection:
'Role': ('id', 'codename', '', 'course.codename'),
'Group': ('id', 'codename', '', 'course.codename'),
'Project': ('id', 'codename', ''),
'Project': ('id', 'codename', '', 'state'),
'Course': ('id', 'codename'),
'User': ('id', 'username', 'uco', 'codename', 'name'),
'Worker': ('id', 'codename', 'name'),
......@@ -412,7 +412,7 @@ class Schemas:
'submission_state': (*ALWAYS_ALLOWED, 'state', 'parameters', 'scheduled_for'),
'roles': ENT_W_COURSE,
'groups': ENT_W_COURSE,
'projects': ENT_W_COURSE,
'projects': (*ENT_W_COURSE, 'state'),
'course_reduced': (*CODENAME_W_DESC,),
'courses': (*CODENAME_W_DESC,),
'config_reduced': (*ALWAYS_ALLOWED, 'project', 'submissions_allowed_from',
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