Repository navigation
Conversation
Korbeil
force-pushed
the
afup-refonte-de-la-section
branch
2 times, most recently
from
October 13, 2026 09:57
754807d to
45bfce1
Compare
Korbeil
marked this pull request as ready for review
October 13, 2026 10:15
…ce READ/WRITE par module
Korbeil
force-pushed
the
afup-refonte-de-la-section
branch
from
October 13, 2026 13:11
45bfce1 to
eee14a3
Compare
stakovicz
reviewed
Oct 13, 2026
| * Matrice READ/WRITE par module (cf. affichage "Lecture seule / Gestionnaire") : | ||
| * la chaîne niveau_modules passe de 5 à 9 caractères. | ||
| * Index 0 à 4 (existants) : apéro, annuaire/membres, site, forum/évènement, antenne. | ||
| * Index 5 à 8 (nouveaux, initialisés à 0) : veille, trésorerie, assemblée générale, planète. |
Contributor
There was a problem hiding this comment.
question : il faudra revoir les rôles de chacun juste après le merge ?
| 'prenom' => 'Admin', | ||
| 'email' => 'admin@admin.fr', | ||
| 'niveau_modules' => '00000', | ||
| 'niveau_modules' => '000000000', |
Contributor
There was a problem hiding this comment.
question : est-ce que ce ne serait pas le moment du supprimer cette tambouille pour n'utiliser que des ROLE_* dans roles ?
Korbeil
marked this pull request as draft
October 13, 2026 14:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Refonte de la section « Paramètres » des formulaires personnes physiques (ajout / modification) pour refléter la matrice READ/WRITE par module introduite par #2429 : une case « Accès à l'admin » attribue le marqueur de console ROLE_ADMIN, et un select « -- / Lecture seule / Gestionnaire » est proposé pour chacune des 9 catégories du menu admin (Membres, Veille, Site, Super-apéro, Évènements, Trésorerie, Assemblée générale, Planète, Antennes). La donnée historique
niveau_modulespasse de 5 à 9 caractères (0 = --, 1 = Lecture seule, 2 = Gestionnaire) ; les niveaux existants sont conservés.Changes
How to test
Screenshoots