Anomalie #1708
closedParent group can be lost when a groupmanager edits a group
100%
Description
If the groupmanager is not also the groupmanager of the parent, the parent is lost on save.
Updated by Guillaume AGNIERAY about 1 year ago
- Target version set to 1.0.0
It happens because the list of groups available only returns the groups managed by the current user.
So, the current parent id cannot be recovered from the select displayed to the groupmanager.
I opened a PR whith a fix proposal (among others improvements) : https://github.com/galette/galette/pull/307/commits/096ca2c663be0b5401598bb5e5f7b8e26978a6c4
In such a case, I suppose it's OK that the parent cannot be modified by the groupmanager.
Only an admin or staff member is able to set the parent to none
so that the groupmanager can change the parent to another group of his/her own afterwards.
Updated by Guillaume AGNIERAY about 1 year ago
- Related to Anomalie #1648: Suppression à tort du groupe parent lors de l'édition par un responsable de groupe added
Updated by Guillaume AGNIERAY about 1 year ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
Appliqué par commit 162c083209a10912d2939acb01f6bfffd04a81fc.
Updated by Johan Cwiklinski 12 months ago
- Category set to Core
- Status changed from Résolu to Fermé
- Assignee set to Guillaume AGNIERAY