Skip to content

We shouldn't re-evaluate authorize at each step of a Wizard command #680

Description

@PatrickePatate

Right now, the authorize method is called at each step of a Wizard command, in a use case such as ensuring that a quota is not reached before creating a new model, the authorize will be true at the first step (before the new model creation) and will change to false at the next step (before finishing the wizard).

Activity

  1. PatrickePatate commented on Jan 19, 2026

    @PatrickePatate
    ContributorAuthor

    We could use a authorizeForStep($step) and evaluate authorize only for the first step

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions