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 e16ccaa

Browse filesBrowse files
author
Hugo Hamon
committed
[SecurityBundle] added short description and help for the init:acl command.
1 parent e90efdc commit e16ccaa
Copy full SHA for e16ccaa

File tree

1 file changed

+13
-1
lines changed
Filter options

1 file changed

+13
-1
lines changed

‎src/Symfony/Bundle/SecurityBundle/Command/InitAclCommand.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/Command/InitAclCommand.php
+13-1Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,19 @@ protected function configure()
3131
{
3232
$this
3333
->setName('init:acl')
34-
;
34+
->setDescription('Mounts ACL tables in the database')
35+
->setHelp(<<<EOT
36+
The <info>init:acl</info> command mounts ACL tables in the database.
37+
38+
<info>php app/console ini:acl</info>
39+
40+
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.
41+
42+
<info>security:
43+
acl:
44+
connection: default</info>
45+
EOT
46+
);
3547
}
3648

3749
/**

0 commit comments

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