Hi, this message will be a bit long.
After seeing several threads on the forum: (thread necromancy....
)
forums.limesurvey.org/forum/french-forum...er-aux-enqu%C3%AAtes
forums.limesurvey.org/forum/french-forum...ous-les-utilisateurs
forums.limesurvey.org/forum/french-forum...ajout-d-utilisateurs
forums.limesurvey.org/forum/french-forum...quer-des-permissions
And the manual:
www.limesurvey.org/manual/Manage_user_groups/fr
I believe this situation is still relevant, and other LimeSurvey users must be running into the same problem.
Below you'll find:
- an explanation of what we want to set up (a simulation for the example: I don't have these departments, but the approach is similar to my use case)
- the question asked to an AI, to get its perspective and a possible solution
- the AI-generated report and possible solutions ==> to be read with caution, of course (as it says itself).
(rename the file CASE-STUDY-GROUPS-REPORT_en.md.txt to CASE-STUDY-GROUPS-REPORT_en.md to read it with formatting).
Here is the case study that was requested (does anyone recognize themselves in this situation?
Case study: managing groups and users in LimeSurveyContextFor the organization of a company, the director decided to create two user groups:
- IT group (named Grp_Info)
- Accounting group (named Grp_Compta)
In each group, there are managers, each in charge of a set of users.
- IT group managers: Gest_user_info, Gest_user_reseau
- Accounting group managers: Gest_user_compta_gene, Gest_user_compta_ana
Actions done by each manager
- creation of one or more user groups
- creation of survey groups
- creation of several users
Permissions
- Director = superadmin
- Group manager: all permissions on creating users, user groups and survey groups, plus creating surveys.
- Users: creating surveys.
Problem: check that
- A group manager only sees the users he created.
- In the user groups he created, a manager can only add his own users.
- In survey groups, a manager can change, for one group, the survey theme (for example a blue background) so that the theme is applied by default to all users of the user group (for example the group "Serveur").
- A manager can see all surveys created by his users, and not the surveys of other managers or of users who do not belong to his managers' group (for example Grp_Info).
Check that LimeSurvey allows such an organization. If it does, list the errors met while running the various tests: creating a survey, checking visibility for the other users and managers, checking that permissions are correct. Write an analysis report. Propose solutions to implement this organization. If errors in the LimeSurvey code prevent it, write the fixes and produce a diff showing the differences.Several surveys must be created to check the assignments between users and managers.Managers and usersGest_user_info, Gest_user_reseau, Gest_user_compta_gene, Gest_user_compta_ana, user_info_1, user_info_2, user_info_3, user_info_4, user_reseau_1, user_reseau_2, user_reseau_3, user_reseau_4, user_compta_1, user_compta_2Tree of groups, survey groups and usersGrp_Info
- Group manager: Gest_user_info (all permissions on users, groups and survey groups)
- creates user group Serveur
- creates user group Messagerie
- creates survey group Secteur_Messagerie
- creates survey group Secteur_Serveur
- creates user_info_1, assigned to group Serveur
- creates user_info_2, assigned to group Serveur
- creates user_info_3, assigned to group Messagerie
- creates user_info_4, assigned to group Messagerie
- Group manager: Gest_user_reseau (all permissions on users, groups and survey groups)
- creates user group Cablage
- creates user group Logistique
- creates survey group Batiment
- creates survey group Depots
- creates user_reseau_1 and user_reseau_2, assigned to group Cablage
- creates user_reseau_3 and user_reseau_4, assigned to group Logistique
Grp_Compta
- Group manager: Gest_user_compta_gene (all permissions on users, groups and survey groups)
- creates user group General
- creates survey group Compta_Gene
- creates user_compta_1, assigned to group General
- Group manager: Gest_user_compta_ana (all permissions on users, groups and survey groups)
- creates user group Analytique
- creates survey group Secteur_Analytique
- creates user_compta_2, assigned to group Analytique