Skip to content

Commit c8c8607

Browse files
committed
Update Commands for aclInit
1 parent 5d13870 commit c8c8607

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/Ubiquity/devtools/cmd/Command.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,8 +724,14 @@ public static function initAcls() {
724724
'acl_init',
725725
'acl:init',
726726
'aclInit'
727-
], [], [
728-
'Initialize Acls' => 'Ubiquity aclInit'
727+
], [
728+
"m" => Parameter::create("models", "Generates ACL models", []),
729+
"p" => Parameter::create("providers", "The providers to use (comma separated).", ['dao'], 'dao'),
730+
"d" => Parameter::create("database", "The database offset.", [], 'default'),
731+
], [
732+
'Initialize Acls' => 'Ubiquity aclInit',
733+
'Initialize Acls and create tables for AclDAOProvider' => 'Ubiquity aclInit -p=dao',
734+
'Initialize Acls, create tables for acls db offset and models for AclDAOProvider' => 'Ubiquity aclInit -p=dao -m -d=acls',
729735
], 'security');
730736
}
731737

0 commit comments

Comments
 (0)