symfony / symfony/maker-bundle

make:auth should add access_control for the login path

Open
#396 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

HasPR
Dominant language
PHP
Stars
3.4k
Forks
427
Avg merge
2d 22h
Merged PRs (30d)
20

Description

That would be consistent with https://symfony.com/doc/current/security/form_login_setup.html

    access_control:
        - { path: ^/login$, roles: IS_AUTHENTICATED_ANONYMOUSLY }

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the make:auth command and compare its generated security configuration with the Symfony form_login_setup documentation linked in the issue. Done means the generated YAML includes an access_control entry for the /login path allowing anonymous authentication; no specific source file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, symfony
Domain
authentication, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.