mirror of https://github.com/acanas/swad-core.git
Version 15.240.4
This commit is contained in:
parent
e2e4d25001
commit
7830aae18f
|
@ -145,7 +145,7 @@
|
|||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
||||
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
|
||||
/*
|
||||
Version 15.240.4: Jul 04, 2015 Fixed bugs in web service, reported by Rubén Martín Hidalgo. (203589 lines)
|
||||
Version 15.240.4: Jul 04, 2015 Fixed bugs in web service, reported by Rubén Martín Hidalgo. (203592 lines)
|
||||
Version 15.240.3: Jul 04, 2015 N.A. year is shown at foot in edition of courses. (? lines)
|
||||
Version 15.240.2: Jul 02, 2015 Fixed bug in edition of courses. (203548 lines)
|
||||
Version 15.240.1: Jul 02, 2015 Fixed bug in web service. (203539 lines)
|
||||
|
|
|
@ -156,6 +156,7 @@ static const char *Svc_Functions[1+Svc_NUM_FUNCTIONS] =
|
|||
"findUsers", // 25
|
||||
};
|
||||
|
||||
/* Web service roles (they do not match internal swad-core roles) */
|
||||
#define Svc_NUM_ROLES 4
|
||||
typedef enum
|
||||
{
|
||||
|
@ -165,6 +166,7 @@ typedef enum
|
|||
Svc_ROLE_TEACHER = 3, // Teacher in current course
|
||||
} Svc_Role_t;
|
||||
|
||||
/* Translation from service-web-role to swad-core-role */
|
||||
Rol_Role_t Svc_SvcRole_to_RolRole[Svc_NUM_ROLES] =
|
||||
{
|
||||
Rol_UNKNOWN, // Svc_ROLE_UNKNOWN
|
||||
|
@ -173,6 +175,7 @@ Rol_Role_t Svc_SvcRole_to_RolRole[Svc_NUM_ROLES] =
|
|||
Rol_TEACHER, // Svc_ROLE_TEACHER
|
||||
};
|
||||
|
||||
/* Translation from swad-core-role to service-web-role */
|
||||
Svc_Role_t Svc_RolRole_to_SvcRole[Rol_NUM_ROLES] =
|
||||
{
|
||||
Svc_ROLE_UNKNOWN, // Rol_UNKNOWN
|
||||
|
|
Loading…
Reference in New Issue