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:
David Taylor
2020-10-08 17:38:54 +01:00
parent 1cec333f48
commit 23e5c605f6
5 changed files with 53 additions and 7 deletions

View File

@@ -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