Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6263c7c

Browse filesBrowse files
author
Iltar van der Berg
committed
Fixed some incorrect references
1 parent 933b129 commit 6263c7c
Copy full SHA for 6263c7c

File tree

Expand file treeCollapse file tree

3 files changed

+8
-9
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+8
-9
lines changed

‎Command/InitAclCommand.php

Copy file name to clipboardExpand all lines: Command/InitAclCommand.php
+6-7Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
use Doctrine\DBAL\Schema\SchemaException;
2020

2121
/**
22-
* Installs the tables required by the ACL system.
22+
* Creates the tables required by the ACL system.
2323
*
2424
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
2525
*
@@ -46,17 +46,16 @@ public function __construct(Connection $connection, Schema $schema)
4646
protected function configure()
4747
{
4848
$this
49-
->setDescription('Mounts ACL tables in the database')
49+
->setDescription('Creates ACL tables in the database')
5050
->setHelp(<<<'EOF'
51-
The <info>%command.name%</info> command mounts ACL tables in the database.
51+
The <info>%command.name%</info> command creates ACL tables in the database.
5252
5353
<info>php %command.full_name%</info>
5454
55-
The name of the DBAL connection must be configured in your <info>app/config/security.yml</info> configuration file in the <info>security.acl.connection</info> variable.
55+
The name of the DBAL connection must be configured in the <info>acl.connection</info> variable of your acl configuration file.
5656
57-
<info>security:
58-
acl:
59-
connection: default</info>
57+
<info>acl:
58+
connection: default</info>
6059
EOF
6160
)
6261
;

‎Command/SetAclCommand.php

Copy file name to clipboardExpand all lines: Command/SetAclCommand.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected function configure()
5252
->setDescription('Sets ACL for objects')
5353
->setHelp(<<<EOF
5454
The <info>%command.name%</info> command sets ACL.
55-
The ACL system must have been initialized with the <info>init:acl</info> command.
55+
The ACL system must have been initialized with the <info>acl:init</info> command.
5656
5757
To set <comment>VIEW</comment> and <comment>EDIT</comment> permissions for the user <comment>kevin</comment> on the instance of
5858
<comment>Acme\MyClass</comment> having the identifier <comment>42</comment>:

‎DependencyInjection/Configuration.php

Copy file name to clipboardExpand all lines: DependencyInjection/Configuration.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function getConfigTreeBuilder()
4141
->addDefaultsIfNotSet()
4242
->children()
4343
->scalarNode('id')->end()
44-
->scalarNode('prefix')->defaultValue('sf2_acl_')->end()
44+
->scalarNode('prefix')->defaultValue('sf_acl_')->end()
4545
->end()
4646
->end()
4747
->scalarNode('provider')->end()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.