I have a website with a large number of admin generators to take care of an assortment of tables. Within the realm of authenticated users, I want to be able to deny access, not just to individual actions or fields, but an entire admin module.
There doesn't appear to be a global credentials parameter for generator.yml
, and putting stuff in security.yml
at the module level doesn't appear to have any effect.
I've browsed the generated code and looked at cache/front/dev/modules/autoFoo/actions/actions.class.php
, and at preExecute() in particular, but I don't know what to do.
I suppose I have to overwrite preExecute() in my own actions.class.php file, but I'm a bit unsure about what needs to be one, e.g., when to call parent::preExecute() (if in fact I need to or not).