Skip to content
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

EZP-30224: Make ez_user_settings twig global load user settings dynamically #876

Merged
merged 1 commit into from
Mar 5, 2019

Conversation

webhdx
Copy link
Contributor

@webhdx webhdx commented Mar 5, 2019

Question Answer
Tickets https://jira.ez.no/browse/EZP-30224
Requires ezsystems/ezplatform-user#10
Bug fix? no
New feature? yes/no
BC breaks? no
Tests pass? yes
Doc needed? no
License GPL-2.0

This PR improves ez_user_settings global to provide dynamic access to User Setting values. Previously it was required to manually put all needed user settings in the UserPreferencesGlobalExtension but it was prone to errors as can be seen in 45058c2

Checklist:

  • Coding standards ($ composer fix-cs)
  • Ready for Code Review

@lserwatka lserwatka merged commit 670e607 into ezsystems:master Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants