8000 [Security] add tip about using custom functions by dmaicher · Pull Request #9552 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Security] add tip about using custom functions #9552

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 2 commits into from
Apr 19, 2018

Conversation

dmaicher
Copy link
Contributor
@dmaicher dmaicher commented Apr 4, 2018

Since 4.1 its possible to use custom functions inside security allow_if expressions.

See symfony/symfony#26660

fabpot added a commit to symfony/symfony that referenced this pull request Apr 6, 2018
…low_if expressions (dmaicher)

This PR was merged into the 4.1-dev branch.

Discussion
----------

[SecurityBundle] allow using custom function inside allow_if expressions

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | no
| Fixed tickets | #23208
| License       | MIT
| Doc PR        | symfony/symfony-docs#9552

This is a follow-up for #26263

As discussed there I propose to allow using custom functions as a new feature only and thus targeting `master` here.

If we agree to move forward with this there are some todos:
- [x] fix tests
- [x] add cache warmer for allow_if expressions
- [x] update documentation to mention this new feature
- [x] update UPGRADE files

ping @nicolas-grekas @stof

Commits
-------

41552cd [SecurityBundle] allow using custom function inside allow_if expressions
@xabbuh xabbuh added this to the 4.1 milestone Apr 10, 2018
@javiereguiluz
Copy link
Member

Thanks David.

@javiereguiluz javiereguiluz merged commit 44708ad into symfony:master Apr 19, 2018
javiereguiluz added a commit that referenced this pull request Apr 19, 2018
…, javiereguiluz)

This PR was merged into the master branch.

Discussion
----------

[Security] add tip about using custom functions

Since 4.1 its possible to use custom functions inside security `allow_if` expressions.

See symfony/symfony#26660

Commits
-------

44708ad Reword
8a96822 [Security] add tip about using custom functions
@dmaicher dmaicher deleted the patch-3 branch July 11, 2018 14:58
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
0