Verified Commit 6e061f4c authored by Peter Stanko's avatar Peter Stanko
Browse files

Roles list schema should contain the course.codename

parent 0541607d
Pipeline #29104 passed with stage
in 3 minutes and 12 seconds
......@@ -11,8 +11,8 @@ from portal.database.models import ClientType, ProjectState, SubmissionState, Wo
class NestedCollection:
ENTITIES = {
'Role': ('id', 'codename', 'course.id'),
'Group': ('id', 'codename', 'course.id'),
'Role': ('id', 'codename', 'course.id', 'course.codename'),
'Group': ('id', 'codename', 'course.id', 'course.codename'),
'Project': ('id', 'codename', 'course.id'),
'Course': ('id', 'codename'),
'User': ('id', 'username', 'uco', 'codename', 'name'),
......
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