A tool composes a review panel and adds a Publish button. The person opening the document is allowed only to comment. The control has good contrast, clear wording and appropriate visual emphasis. The problem precedes aesthetics: the interface is offering an action the product does not make available to that person on that document.
Discussion of generated interfaces often concentrates on compositional freedom. A question becomes a table, a list becomes a dashboard and controls adapt to context. But drawing an action does not create the capability to perform it. Nor does it establish who may perform it, on which object or in which state.
I would give a generator freedom to present real possibilities. I would not make it responsible for inventing the rules that make those possibilities valid. If automatic composition becomes more common between 2027 and 2030, this boundary may become one of a design system’s most important responsibilities.
A button promises a consequence
A control is more than a recognisable shape. By presenting itself as a button, it announces that something can be triggered. If the consequence does not exist, people discover the limitation only after investing attention in the action. A later error may prevent execution, but it does not erase the promise made by the screen.
In this hypothetical editorial panel, opening a document, commenting, proposing a revision, approving and publishing are separate actions. Someone may have access to only some of them. Document state can restrict others. An archived version might remain readable without being editable. These differences need to reach the composition as product information rather than guesses inferred from conversational wording.
The W3C button pattern relates role, name and behaviour. I would add a product question to visual review: is the consequence promised by this name actually available here? A semantically correct button can still offer the wrong action.
Not every limitation should be hidden. If publication belongs to the task but requires another responsible person, showing who can proceed and how to request that intervention may help. I would avoid presenting Publish as an immediate action and explaining the restriction only after activation.
A visual grammar needs permitted verbs
Suppose the product supplies the operations available for a particular document: comment and propose a revision. The generator might present a field beside a paragraph or a list of suggestions. Composition varies while verbs and objects remain attached to operations the product recognises.
I would specify components with clear responsibilities. A proposal shows the text it would change; a comment identifies its passage; the submit control corresponds to an actual operation. I would not begin with a generic button whose name and consequence can be assigned freely by the model. That apparent flexibility gives too much semantic responsibility to a system composing a response.
A suggested feature should also remain distinct from an executable control. If someone asks whether comments can be combined into a synthesis and the product cannot yet do that, an honest explanation may help. Drawing a non-functional button to make the answer more convincing creates an expectation the product cannot fulfil.
In UX/UI design, this grammar needs concrete cases. Review is not complete when components align visually. It must establish that each action belongs to the indicated object, uses valid inputs and represents a real possibility at that moment.
Document state belongs in the composition
An operation may be available when a panel opens and become unavailable later. Another person might publish the version, withdraw the document or replace its draft. A screen generated at session start should not keep asserting a possibility simply because its appearance remains unchanged.
I would keep the document and version recognisable beside the relevant action. When state changes, the interface should explain the local consequence: this version has been published; you can inspect comments or open a permitted revision. Compatible work, such as an unsent note, should be preserved without pretending the earlier operation remains available.
A table can help the team discuss that commitment without becoming an authorisation mechanism:
| Situation in this example | What the interface can offer | What needs explanation |
|---|---|---|
| Reader allowed to comment | Write a comment | Its document and target passage |
| Proposal not yet accepted | Inspect or withdraw the proposal | Suggestion versus current text |
| Version already published | Consult it and start a permitted revision | Publication is different from a draft |
The purpose is readable state. The implementation controlling the resource owns the final operation decision. A design table helps represent that decision; it does not replace it.
A disabled control does not protect the product
An absent or disabled control guides interaction. It is not a sufficient authorisation boundary. The OWASP authorisation guidance recommends permission checks for every request. The service responsible for an operation must evaluate it independently of the control shown in the browser.
For design, the implication is straightforward: do not promise security because a generator was instructed to hide certain buttons. The interface should reflect boundaries the product enforces. A refusal needs an understandable representation and a next step compatible with the person’s task.
Lack of authorisation, incomplete information and temporary unavailability should also be distinguished. Each may prevent a control from proceeding, but they require different responses. Filling a field does not resolve an access restriction. Requesting access does not resolve an outdated version. One unexplained grey button makes the person investigate which situation occurred.
The article on readable states and permissions develops this explanatory responsibility in another domain. The useful connection is the distinction between preparing, authorising and verifying an action. It does not automatically transfer that domain’s rules to every agent or product.
Where presentational freedom remains valuable
Bounded operations do not require visual rigidity. Parallel columns may help compare revision suggestions. A short correction may need only a field beside the source text. Composition can adapt density, reading order and context without inventing a new publication operation.
I would concentrate generation where there is a genuine presentation decision. How should the difference be shown? Which information belongs nearby? How should summary and detail relate? These are design questions that can benefit from varied proposals, provided the resulting relationships remain checkable in the task.
A web and mobile development agency can start with a small, well-defined set of operations and explore different compositions over that set. Allowing arbitrary controls and later repairing those that do not work may appear fast in a prototype. It makes it harder to tell whether a failure originated in presentation or an invented rule.
I would retain a predictable way to perform the task as well. If the generated composition is unhelpful, a person should be able to recover a familiar view without losing a comment or selection. Freedom for the generator should not reduce freedom for the person using the product.
Test what should not appear
A demonstration where the participant has every permission and the document is in its ideal state is insufficient. I would include cases where only comments are allowed, the version changes during review or an operation becomes unavailable. This does not turn a design session into a security audit. It tests the honesty of the possibilities presented.
I would observe whether people distinguish a proposal, an accepted edit and a publication. Before a control is activated, I would ask what they expect to happen. An expectation different from the real consequence is a semantic problem even when the service correctly blocks the operation.
Generated interfaces become more useful when they compose what the product can fulfil. I would judge innovation through that correspondence: freedom of form, clarity of consequence and rules that continue to belong to the product. A model may suggest a new composition. Its controls still owe the person using them an accurate explanation.
[+] On this page 11 topics ▼
- A button promises a consequence
- A visual grammar needs permitted verbs
- Document state belongs in the composition
- A disabled control does not protect the product
- Where presentational freedom remains valuable
- Test what should not appear
- Author
- Frequently Asked Questions
- Does disabling a generated button perform authorisation?
- Related Articles
- Continue reading
Frequently Asked Questions
Does disabling a generated button perform authorisation?
No. The interface guides interaction; the service controlling the resource must check the operation.
Related
Start your project
Need a website that earns trust, ranks in search, and gives your business a stronger digital presence? Start the conversation here.