Project

General

Profile

Actions

Bug #5689

closed

Plugin permissions are skipped during migration from old to new system

Added by Marek Hulán almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DB migrations
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Plugin initializer is loaded only once when running multiple migrations. Since plugin permissions are ignored (permissions table does not exist yet) they are not created in database and permission migration can't migrate them. Therefore we must find all plugin permission during permission migration and create them before that.


Related issues 1 (1 open0 closed)

Blocks Foreman - Tracker #4552: New permissions/authorization system issuesNew

Actions
Actions

Also available in: Atom PDF