4c12b7b9ff
This PR was merged into the 2.6-dev branch.
Discussion
----------
[SecurityBundle] added acl:set command
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | no
| License | MIT
| Doc PR | n/a
This new command allows to set ACL directly from the command line. This useful to quickly set up an environment and for debugging / maintenance purpose.
This PR also includes a functional test system for the ACL component. As an example, it is used to test the `acl:set` command.
The provided entity class is not mandatory (tests will still be green without it) but can be useful to test other ACL related things. I can remove it if necessary.
The instantiation of the `MaskBuilder` object is done in a separate method to be easily overridable to use a custom one (e.g. the SonataAdmin one).
Commits
-------
a702124
[SecurityBundle] added acl:set command
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "symfony/security-bundle",
|
|
"type": "symfony-bundle",
|
|
"description": "Symfony SecurityBundle",
|
|
"keywords": [],
|
|
"homepage": "http://symfony.com",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Fabien Potencier",
|
|
"email": "fabien@symfony.com"
|
|
},
|
|
{
|
|
"name": "Symfony Community",
|
|
"homepage": "http://symfony.com/contributors"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": ">=5.3.3",
|
|
"symfony/security": "~2.4",
|
|
"symfony/http-kernel": "~2.2"
|
|
},
|
|
"require-dev": {
|
|
"symfony/framework-bundle": "~2.2",
|
|
"symfony/twig-bundle": "~2.2",
|
|
"symfony/validator": "~2.2",
|
|
"symfony/yaml": "~2.0",
|
|
"symfony/expression-language": "~2.4",
|
|
"doctrine/doctrine-bundle": "~1.2"
|
|
},
|
|
"autoload": {
|
|
"psr-0": { "Symfony\\Bundle\\SecurityBundle\\": "" }
|
|
},
|
|
"target-dir": "Symfony/Bundle/SecurityBundle",
|
|
"minimum-stability": "dev",
|
|
"extra": {
|
|
"branch-alias": {
|
|
"dev-master": "2.6-dev"
|
|
}
|
|
}
|
|
}
|