ichikaway/cakephp-mongodb — Issue #39: Attempting ACL layer support (setup) cakephp 2.x
Author: zukuma
Created: 2011-11-20 21:27:19+00:00
State: open

Anyone has any experience with the setup of ACL support for authentication via cakephp 2.x with MongoDB and schemaless design?

So far i've only experienced errors with missing tables such as

0 /var/www/lib/Cake/Model/Model.php(3239): Model->setSource('aros_acos')
#1 /var/www/lib/Cake/Model/Model.php(1206): Model->getDataSource()
#2 /var/www/lib/Cake/Model/Model.php(784): Model->schema()
#3 /var/www/lib/Cake/Model/Model.php(802): Model->__isset('Permission')

PS. Forcing the Aro, Aro, Permission models to a negative useTable will result in mongoDb returning passed argument errors while setting up Aro or Aco objects for building nodes.

Wondering also if there are any guidelines for the use of ACL bit-layer auth outside the RDBMS world in design? And if there is by any chance any reason why it should be avoided when developing with key-value documents?