• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

overblog / GraphQLBundle / 23934195628

12 Mar 2026 02:54PM UTC coverage: 98.546%. Remained the same
23934195628

push

github

web-flow
Fix isAnonymous() always returning false on Symfony 6.x (#1240)

* Fix isAnonymous() always returning false on Symfony 6.x

IS_AUTHENTICATED_ANONYMOUSLY was removed from AuthenticatedVoter in
Symfony 6.x (deprecated since 5.4). When using #[GQL\Access('isAnonymous()')]
on a Provider field, the access check always returned false, causing every
request to get "Access denied to this field" regardless of auth state.

PUBLIC_ACCESS is the correct replacement since Symfony 5.4 and has the
same semantics: it always grants access.

* Update IsAnonymousTest for Symfony 6.x PUBLIC_ACCESS change

1 of 1 new or added line in 1 file covered. (100.0%)

12 existing lines in 2 files now uncovered.

4541 of 4608 relevant lines covered (98.55%)

76.58 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/Security/Security.php


Source Not Available

The owner of this repo needs to re-authorize with github; their OAuth credentials are no longer valid so the file cannot be pulled from the github API.

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc