Actions
Refactor #34015
closedFeature #29991: Enable Zeitwerk autoload mode for Rails 6+
Refactor #33886: Fix early loads of constants
Refactor #34006: Plugin and its rbac_support are using Role and Permission models too early
Move permission creation in DB to RbacRegistry
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Plugin integration
Target version:
-
Description
We should create the permissions in database in the RbacRegistry's finalize hook implemented in #34010
Plugin#permission should only register the permissions in the RbacRegistry (and possibly keep registering it in AccessControl).
Actions