Skip to content

build(deps): require dmstr/api-platform-utils-bundle ^0.11.0, release 0.18.0 - #43

Merged
schmunk42 merged 3 commits into
masterfrom
feature/flowable-utils-constraint
Dec 2, 2026
Merged

schmunk42 merged 3 commits into
masterfrom
feature/flowable-utils-constraint

Conversation

@schmunk42

Copy link
Copy Markdown
Member

Summary

Raises the constraint on dmstr/api-platform-utils-bundle from ^0.8.0 to ^0.11.0, so the bundle installs next to utils 0.11. The bundle's own code, its operations, their security expressions and the MCP tools are unchanged.

  • utils 0.11 brings the per-caller discovery filter, on by default: an operation of the bundle appears in the OpenAPI document, the Hydra documentation and the entrypoint only for a caller holding its permission.
  • The application must set api_platform.serializer.hydra_prefix: true; without it /api/docs.jsonld has no classes. dmstr_api_platform_utils.discovery.filter_operations_by_security: false turns the filter off.
  • Applications on api-platform-utils-bundle 0.8 to 0.10 stay on flowable-bundle 0.17.0.
  • Released as the minor 0.18.0, because the raised constraint brings the filter; a consumer on ^0.17.0 does not get it unasked.

Tests

  • New test kernel option hydra_prefix, used only by CustomActionHydraDocumentationTest; the discovery filter stays on in the test kernel (its default).
  • The test reads the Hydra documentation with the hydra: prefix as a caller with all flowable permissions and still pins exactly the 14 marked custom actions; the expected set is unchanged.
  • New: a caller with flowable:read only sees the read operations but no custom action; a caller without roles sees no flowable operation. Both guard against an empty document.
  • Full suite under utils 0.11.0: 2003 tests, 10201 assertions, green.

Docs

CHANGELOG 0.18.0, README (requirements, note in Security, custom actions per caller), one line in the vacation-request walkthrough.

🤖 Generated with Claude Code

schmunk42 and others added 3 commits December 2, 2026 22:56
… caller with the flowable permissions [*]

New test kernel option hydra_prefix, used only by the test of the Hydra
documentation. The walker reads the prefixed keys and the document is requested
as ROLE_FLOWABLE_ADMIN. The expected set of 14 custom actions is unchanged.
Prepares the discovery filter of api-platform-utils-bundle 0.11, which shows an
operation only to a caller holding its permission and needs the prefix.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
0.11 brings the per-caller discovery filter, on by default. The test of the
Hydra documentation pins both sides of it: a caller with all flowable
permissions sees exactly the 14 marked custom actions, a caller with
flowable:read only sees the read operations but no custom action, and a caller
without roles sees no flowable operation. The filter stays on in the test
kernel.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…lease 0.18.0 [*]

The raised constraint on dmstr/api-platform-utils-bundle brings the per-caller
discovery filter, on by default. CHANGELOG, README and walkthrough say what a
consumer has to know: operations show only for callers holding their permission,
hydra_prefix: true is required, and how to switch the filter off.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@schmunk42
schmunk42 merged commit 2acb188 into master Dec 2, 2026
2 checks passed
@schmunk42
schmunk42 deleted the feature/flowable-utils-constraint branch December 2, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant