Skip to content

Commit bd17ef8

Browse files
committed
[acl][command][SecurityBundle] Fixed user input option mode to be an Array
Fixed Issue #13789
1 parent c9da1ae commit bd17ef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/SecurityBundle/Command/SetAclCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ protected function configure()
7878
EOF
7979
)
8080
->addArgument('arguments', InputArgument::IS_ARRAY | InputArgument::REQUIRED, 'A list of permissions and object identities (class name and ID separated by a column)')
81-
->addOption('user', null, InputOption::VALUE_REQUIRED, 'A list of security identities')
81+
->addOption('user', null, InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'A list of security identities')
8282
->addOption('role', null, InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, 'A list of roles')
8383
->addOption('class-scope', null, InputOption::VALUE_NONE, 'Use class-scope entries')
8484
;

0 commit comments

Comments
 (0)