Skip to content

Add manual close to module descriptor#638

Merged
jakub-id merged 1 commit into
mainfrom
terminateperm
Jun 19, 2026
Merged

Add manual close to module descriptor#638
jakub-id merged 1 commit into
mainfrom
terminateperm

Conversation

@skomorokh

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings June 18, 2026 19:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Broker module descriptor template to expose the existing “terminate patron request” operation through Okapi routing and permissions, enabling manual termination/closure via an explicit endpoint permission.

Changes:

  • Added a new POST route for /broker/patron_requests/{id}/terminate with a dedicated required permission.
  • Introduced a new permission set broker.patron_requests.item.terminate.post with a human-facing description/display name.
  • Included the new permission in the existing patron-request write/all permission aggregates (broker.patron_requests.write, broker.all).

Comment thread broker/descriptors/ModuleDescriptor-template.json
@jakub-id jakub-id merged commit 551903b into main Jun 19, 2026
6 checks passed
@jakub-id jakub-id deleted the terminateperm branch June 19, 2026 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants