From bbfff47ec151d4333d3d52a7144698a29103ffae Mon Sep 17 00:00:00 2001 From: acanas Date: Wed, 11 Sep 2024 15:21:04 +0200 Subject: [PATCH] Version 23.89.2: Sep 11, 2024 Fixed issues in groups. --- swad_changelog.h | 5 ++--- swad_group.c | 5 +++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 9531be797..5b873b513 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -633,12 +633,11 @@ Me sale este error, no s "can npt create received message (duplicated entry '243218-2160773' for key 'UsrCod_MsgCod') */ -#define Log_PLATFORM_VERSION "SWAD 23.89.1 (2024-09-11)" +#define Log_PLATFORM_VERSION "SWAD 23.89.2 (2024-09-11)" #define CSS_FILE "swad23.67.2.css" #define JS_FILE "swad23.89.js" /* - * Buscar HTM_DISABLED en swad_group.c y revisar bien!!!!!! - * + Version 23.89.2: Sep 11, 2024 Fixed issues in groups. (335467 lines) Version 23.89.1: Sep 11, 2024 Fixed issues and code refactoring in groups. (335467 lines) Version 23.89: Sep 11, 2024 Fixed issues in groups. (335411 lines) Version 23.88: Sep 11, 2024 Fixed issue in groups. (335378 lines) diff --git a/swad_group.c b/swad_group.c index 8c0a77203..5f8413584 100644 --- a/swad_group.c +++ b/swad_group.c @@ -683,8 +683,8 @@ void Grp_ChangeMyGrps (Cns_Verbose_t Verbose) SelectionIsValid = Grp_CheckIfAtMostOneSingleEnrolmentGrpIsSelected (&LstGrpsIWant, true); // Check also closed groups I belong break; - case Rol_NET: case Rol_TCH: + case Rol_SYS_ADM: break; default: Err_WrongRoleExit (); @@ -803,6 +803,7 @@ bool Grp_ChangeMyGrpsAtomically (struct ListCodGrps *LstGrpsIWant) SelectionIsValid = Grp_CheckIfSelectionIsValid (LstGrpsIWant,&LstGrpsIBelong); break; case Rol_TCH: + case Rol_SYS_ADM: break; default: Err_WrongRoleExit (); @@ -2054,7 +2055,7 @@ static Usr_Can_t Grp_ListGrpsForChangeMySelection (const struct GroupType *GrpTy break; case Rol_TCH: case Rol_SYS_ADM: - ICanChangeMySelectionForThisGrpTyp = Usr_CAN; // I can not register/unregister + ICanChangeMySelectionForThisGrpTyp = Usr_CAN; // I can not register/unregister break; default: ICanChangeMySelectionForThisGrpTyp = Usr_CAN_NOT; // I can not register/unregister