Project

General

Profile

Actions

Defect #15881

closed

Using Role::PermissionsAttributeCoder makes migration from 1.4 lose role permissions

Added by David Escala almost 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Permissions and roles
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

In 1.4 permissions are serialized as

--- 
  - !ruby/sym add_project
  - !ruby/sym edit_project

and

scan(/:([a-z0-9_]+)/).flatten.map(&:to_sym)

fails to load it. next thing it is saved empty.

Actions

Also available in: Atom PDF