Skip to content

Conversation

@albozek
Copy link
Contributor

@albozek albozek commented Jul 10, 2025

🎫 Issue IBX-6770

Description:

For QA:

Documentation:

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Fixes the display of “All functions” when a policy’s function value is literally all_functions rather than *.

  • Extend the Twig conditional to catch the literal all_functions (case-insensitive).
  • Preserve existing handling for *.
Comments suppressed due to low confidence (1)

src/bundle/Resources/views/themes/admin/user/policy/list.html.twig:27

  • Consider adding a test for the case where policy.function is set to 'all_functions' (in any case) to ensure this path renders the expected translation.
            { content: policy.function == '*' or policy.function|lower == 'all_functions' ? ('role.policy.all_functions')|trans({}, 'forms')|desc('All functions') : policy.function|capitalize },

@albozek albozek force-pushed the IBX-6770-policy-spelling branch from fa8e463 to b01f9cf Compare July 10, 2025 14:11
@sonarqubecloud
Copy link

@adamwojs adamwojs merged commit 0b957c0 into 4.6 Jul 16, 2025
28 checks passed
@adamwojs adamwojs deleted the IBX-6770-policy-spelling branch July 16, 2025 09:10
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.

8 participants