---
title: "Feature: Offer only the actions a reader may perform"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1791312452@main"
source: "Changelog/1.0.0/Feature-1791312452-OfferOnlyTheActionsAReaderMayPerform.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Offer only the actions a reader may perform {#feature-1791312452}

## Description {#description}

A leave request now carries allowedActions: the operations the reader may perform on it now. The employee is
offered withdrawing and replacing while it is pending, cancelling the days ahead once approved and withdrawing a
pending cancellation; HR is offered cancelling; the current approver is offered approving and rejecting. The request
screen shows its buttons from this list, so a button never appears for an action the server refuses.

## Impact {#impact}

Representations of operations flagged with x-allowed-actions in the contract gain allowedActions. Packages
offer the actions of their subjects by implementing SubjectActions; leave requests are the first.
