Projet

Général

Profil

Actions

Anomalie #1708

fermé

Parent group can be lost when a groupmanager edits a group

Ajouté par Guillaume AGNIERAY il y a 7 mois. Mis à jour il y a 6 mois.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
Core
Version cible:
Début:
27/09/2023
Echéance:
% réalisé:

100%

Temps estimé:
Version utilisée:

Description

If the groupmanager is not also the groupmanager of the parent, the parent is lost on save.


Demandes liées 1 (0 ouverte1 fermée)

Lié à Galette - Anomalie #1648: Suppression à tort du groupe parent lors de l'édition par un responsable de groupeFerméJohan Cwiklinski18/07/2022

Actions

Mis à jour par Johan Cwiklinski il y a 7 mois

Maybe related to #1648

Mis à jour par Guillaume AGNIERAY il y a 7 mois

  • Version cible mis à 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.

Mis à jour par Guillaume AGNIERAY il y a 7 mois

  • Lié à Anomalie #1648: Suppression à tort du groupe parent lors de l'édition par un responsable de groupe ajouté

Mis à jour par Guillaume AGNIERAY il y a 7 mois

  • Statut changé de Nouveau à Résolu
  • % réalisé changé de 0 à 100

Mis à jour par Johan Cwiklinski il y a 6 mois

  • Catégorie mis à Core
  • Statut changé de Résolu à Fermé
  • Assigné à mis à Guillaume AGNIERAY
Actions

Formats disponibles : Atom PDF