Closed monbro closed 11 years ago
Where are thinking this code should go? I don't really know a use case for this.
well I guess the case was, that in the first steps I never created / assigned any rights to my datafixtures but tried to check them or something like this.
It would be nice to keep the acl init process more modularised. So that you can call the command "init:acl:mongodb" as a simple method from outside. It would be already helpful, if the codeblock inside IamPersistent\MongoDBAclBundle\Command\InitAclMongoDBCommand::execute() would live in its own function without any parameter. So you could easily create an instance of it, set the container and execute the init function.