Skip to content

Getting AclManager to Work with a Users Plugin #11

@larry-tx

Description

@larry-tx

I'm trying to use AclManager with the CakeDC Users plugin. I've tried entering this in the plugin's bootstrap file:

Configure::write('AclManager.aros', array('Group', 'Users.User'));

That gives nothing but errors, most notably including:

Warning (2): Invalid argument supplied for foreach() [APP\Plugin\AclManager\Controller\AclController.php, line 31]

Warning (2): Invalid argument supplied for foreach() [APP\Plugin\AclManager\Controller\AclController.php, line 39]

I also tried it without referencing the plugin as in:

Configure::write('AclManager.aros', array('Group', 'Users.User'));

That gave the same errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions