Add RoleRightsSyncRunner to backfill missing role rights

FeatureInitializerService
已装运
2026年3月22日 21:13 UTC
作者
Kamo
提交
6b5b757

When new RoleRightType entries are added to the enum, existing roles don't have OrgRoleRight entries for them. This runner checks all roles on startup and adds missing entries — GRANTED for admin roles, defaultSetting for others. Safe to re-run, only inserts missing entries.

所有更改

就像你看到的运输?

每一个都自动更新您工作空间的地盘。 开始自由,看它成长 一周又一周.

永远开始自由查看定价