Repository navigation
feat: install key_auth and configure API consumer role - #105
Merged
Merged
Conversation
- Install drupal/key_auth 2.2.0 via Composer - Enable key_auth module and export config - Create api_consumer role with View published content permission - Add system actions for role assignment - Add issue-90 spec doc and close issue-74 doc Closes #90 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What changed
drupal/key_auth2.2.0 via Composer and enabled the moduleapi_consumerrole with minimalView published contentpermission — read-only access for machine-to-machine integrationscore.extension.yml,key_auth.settings.yml, role and system action YAMLsclosedWhy
Establishes the simplest M2M auth pattern for Waggy's external integrations (e.g. inventory sync via Spring Boot). API key is sent as
api-keyheader on every request — no expiration, no OAuth handshake.What to review
user.role.api_consumer.yml— confirm permissions are minimal (read-only)key_auth.settings.yml— detection methods: header + querycomposer.json/composer.lock— onlydrupal/key_auth ^2.2addedCloses #90
🤖 Generated with Claude Code