Anomalie #1708
closed
Parent group can be lost when a groupmanager edits a group
Added by Guillaume AGNIERAY about 1 year ago.
Updated about 1 year ago.
Description
If the groupmanager is not also the groupmanager of the parent, the parent is lost on save.
- 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.
- Related to Anomalie #1648: Suppression à tort du groupe parent lors de l'édition par un responsable de groupe added
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
- Category set to Core
- Status changed from Résolu to Fermé
- Assignee set to Guillaume AGNIERAY
Also available in: Atom
PDF