Project

General

Profile

Actions

Refactor #34010

closed

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

Added by Ondřej Ezr almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
-
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`.

Actions #1

Updated by Ondřej Ezr almost 3 years ago

  • Description updated (diff)
Actions #2

Updated by The Foreman Bot almost 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Ezr
  • Pull request https://github.com/theforeman/foreman/pull/8955 added
Actions #3

Updated by The Foreman Bot almost 3 years ago

  • Pull request https://github.com/theforeman/foreman/pull/8954 added
Actions #4

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases 3.2.0 added
Actions #5

Updated by Ondřej Ezr over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF