Fix RS auth array usage in production
Serialization into YAML breaks the native PostgreSQL array usage. Needs to be adjusted later to not use the environment, but database adapter (issue #149).
This commit is contained in:
parent
eaf41e0835
commit
50f91cc7d7
@ -2,7 +2,7 @@ class RemoteStorageAuthorization < ApplicationRecord
|
||||
belongs_to :user
|
||||
belongs_to :web_app, class_name: "AppCatalog::WebApp", optional: true
|
||||
|
||||
serialize :permissions
|
||||
serialize :permissions unless Rails.env.production?
|
||||
|
||||
validates_presence_of :permissions
|
||||
validates_presence_of :client_id
|
||||
|
Loading…
x
Reference in New Issue
Block a user