From 0b5272c8ec44c17d80b270850cb1828c1cfbfe1e Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 7 Mar 2018 14:34:18 +0100 Subject: [PATCH] [config.modules] make POST professor types more flexible --- config/modules.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/modules.json b/config/modules.json index f6b6e74..c290f4e 100644 --- a/config/modules.json +++ b/config/modules.json @@ -92,9 +92,9 @@ "lastName": { "des": "Professor first name.", "typ": "varchar(2,30,alphanumeric)" }, "category": { "des": "Professor category UID.", "typ": "id" }, "hoursToDo": { "des": "Number of hours professor have to do", "typ": "id" }, - "initials": { "des": "Professor initials", "typ": "varchar(2,2,letters)" }, + "initials": { "des": "Professor initials", "typ": "varchar(2,8,letters)" }, "isAdmin": { "des": "Whether professor is an admin", "typ": "boolean" }, - "casLogin": { "des": "Optional CAS username", "typ": "varchar(6,10,letters)", "opt": true } + "casLogin": { "des": "Optional CAS username", "typ": "varchar(6,16,letters)", "opt": true } }, "out": { "created_uid": { "des": "Created professor UID", "typ": "id" }