Refactor #34010
Feature #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
Add initialization method to RbacRegistry
Pull request:
Fixed in Releases:
Found in Releases:
Description
Initialization method should do all the database manipulation needed to support the Permission.
RbacRegistry will also need to hold the plugin id so it knows what plugin it registers.
We can remove the premature dependency load of `rbac_registry` and especially `rbac_support`.
Associated revisions
History
#1
Updated by Ondřej Ezr 6 months ago
- Description updated (diff)
#2
Updated by The Foreman Bot 6 months ago
- Assignee set to Ondřej Ezr
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/8955 added
#3
Updated by The Foreman Bot 5 months ago
- Pull request https://github.com/theforeman/foreman/pull/8954 added
#4
Updated by The Foreman Bot 4 months ago
- Fixed in Releases 3.2.0 added
#5
Updated by Ondřej Ezr 4 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|a59c8213e0a5f17e8cffbb17c021537e51eff2f6.
Fixes #34010 - add a setup hook to RbacRegistry
RbacRegistry should hold all the information about the Plugin RBAC.
This method will be responsible for initializing in the database in the future.