breaking-change: Manage authorities #34
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces authorities' management flows (including the UI).
An authority represents a namespace. Under that particular namespace, all resources are served to Terraform using the authority keys, name, and policy.
From the web interface, an authenticated user will be able to:
From the API, an authenticated user (using an API key) will be able to:
Note: The API key should be generated for that particular namespace.
However, this PR also introduces several breaking changes:
owner
column to theauthority
table;owner_email
andowner_name
fromauthority_api_keys
table;authority_id
column to theproviders
table;namespace
column fromproviders
table;authority_id
column to themodules
table;namespace
column frommodules
table;authority
table toauthorities
;POST
andDELETE
methods for both providers and modules no longer take the namespace as an input parameter.It's recommended to fully reconstruct the database.