Skip to content

Display the roles of the logged-in user in the Web Debug Toolbar -- bugfix for two roles #43000

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

NicoHaase
Copy link
Contributor

Q A
Branch? 5.4 for features
Bug fix? yes
New feature? yes
Deprecations? no
Tickets Additional fix for #42763
License MIT
Doc PR symfony/symfony-docs#...

The first commit from #42800 did not work properly if there are exactly two roles assigned to the logged in user (as then, the first would be shown, but not the "and n more" span). This PR fixes this issue

NicoHaase referenced this pull request Sep 13, 2021
…ug Toolbar (NicoHaase)

This PR was merged into the 5.4 branch.

Discussion
----------

Display the roles of the logged-in user in the Web Debug Toolbar

| Q             | A
| ------------- | ---
| Branch?       | 5.4 for features
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | yes/no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | Fix #42763
| License       | MIT
| Doc PR        | -

This PR adds the roles of the logged-in user to the WDT

Commits
-------

1460732 Display the roles of the logged-in user in the Web Debug Toolbar
@derrabus
Copy link
Member

Good catch, thanks @NicoHaase.

@derrabus derrabus merged commit a642717 into symfony:5.4 Sep 13, 2021
@NicoHaase
Copy link
Contributor Author

@mcorteel-harel spotted this bug this morning - I haven't found it myself

@NicoHaase NicoHaase deleted the fix/42763-two-roles branch September 13, 2021 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants