Compare commits
2 Commits
eaf41e0835
...
fa9a924b0a
| Author | SHA1 | Date | |
|---|---|---|---|
| fa9a924b0a | |||
|
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
|
||||
|
||||
Reference in New Issue
Block a user