tshenry
(Taylor)
11. August 2026 um 01:51
35
@Moin ’s exzellentes Update für diese Komponente wurde gemerged Vielen Dank, 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.
Ich werde versuchen, den Eröffnungspost dieses Themas bald zu aktualisieren, um alle Verbesserungen widerzuspiegeln, die in diesem Jahr von @Arkshine und @Moin eingegangen sind.
3 „Gefällt mir“