mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Add support for allowed parameters in user api key scopes
Initially, this feature is only intended for use in core/plugins, so there is no API for requesting a parameter-scoped key. That may change in future.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AddAllowedParametersToUserApiKeyScope < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_column :user_api_key_scopes, :allowed_parameters, :jsonb
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user