Fixed
Project:
Drupal Website API
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2026 at 13:30 UTC
Updated:
12 Nov 2026 at 21:01 UTC
Jump to comment: Most recent
No api_admin role exists, although the Webships tooling and the docs expect one: drush user:role:add api_admin prints "Unable to load the user_role: api_admin", and an API administrator account gets 403 on the API documentation, /openapi/jsonapi?_format=json and /admin/config/services/webapi. The webships profile shipped the role until 3.0.2, which dropped all its configuration, and no site template picked it up.
drush user:role:add api_admin <account>: the role is missing.Ship the role "API administrator" in config/optional with the permissions of the documentation, the OpenAPI document and the settings form, and add it on install and update.
AI-Generated: Yes
Comments
Comment #3
rajab natshahMerged in !7, pipeline 1044430.
Comment #5
rajab natshah✅ Released webapi 1.0.2