tshenry
(Taylor)
Août 11, 2026, 1:51
35
La excellente mise à jour de cette composante par @Moin a été fusionnée Merci Moin !
main ← moin-Jana:migrate-to-groups
merged 01:43AM - 11 Aug 26 UTC
### Migrate from trust level to group-based upload restrictions
Replaces the re… strict_to_trust_level enum setting with restricted_to_groups, a list setting that accepts group IDs. This gives admins more flexibility – instead of being limited to trust levels, any combination of groups can be allowed.
### Changes:
* New setting restricted_to_groups (default: 3|10, i.e. staff and trust_level_0)
* Migration maps existing trust level values to the corresponding automatic groups (TL0→10, TL1→11, TL2→12, TL3→13, TL4→14) and always adds group 3 (staff)
* Upload permission is now checked against group membership instead of trust level
* Staff is no longer an implicit exception, instead the staff group is added to the setting by default.
Note: The error dialog no longer mentions a specific trust level since the restriction is now group-based and telling the user about the group IDs did not seem helpful to me.
Also updates linting/CI config and dependencies from latest theme component skeleton.
@Arkshine already took a look and provided feedback.
Je vais essayer de mettre à jour le premier message de ce sujet prochainement pour refléter toutes les améliorations apportées par @Arkshine et @Moin cette année.
3 « J'aime »