fix: Add missing MANAGE_SETTINGS permission to role seeders (#392)

Commit: e2f91b3449b0d6c30401221cfb3e04e7e11905c1
Date: 2025-10-09 13:09:22 +0000
Author: PascalHavelange

Commit Message

fix: Add missing MANAGE_SETTINGS permission to role seeders (#392)

* fix: Add missing MANAGE_SETTINGS permission to role seeders

The MANAGE_SETTINGS permission was defined in the Permission enum but was not being created in the database seeders, making it unavailable in the role management interface.

Changes:
- Added MANAGE_SETTINGS permission to RolePermissionSeeder
- Added MANAGE_SETTINGS permission to ProductionDataSeeder
- Updated "Manager of Users" role to include MANAGE_SETTINGS permission in both seeders
- All 10 permissions from the Permission enum are now properly seeded

This ensures:
- The permission is visible in the role management interface
- Users with "Manager of Users" role can access system settings
- Any role can now be assigned the MANAGE_SETTINGS permission through the web interface
- Complete consistency between Permission enum and database state

Tests: All 1586 backend tests pass (1 skipped)

* 5.4.3

* 5.4.4

---------

Co-authored-by: Pascal Havelange <havelangep@hotmail.com>

Files Changed


This documentation was automatically generated from Git commit data.