Is it possible to assign users individual permissions based on dynamic elements in a Zend Framework application?
I have tables like so:
clients (id, name, contact_name, contact_number, logo, active)
modules (id, client_id, module_id, active)
permissions (id, user_id, client_id, module_id)
users (id, username, password, email, realname)
What I need to do is allow a specific user to access a specific module for each individual client, but I can't figure out any way to get Zend_ACL to do this. What would be the most efficient way to do so?
Edit: Apologies, I forgot to add a detail. I have to allow an administrator to grant and revoke permissions from users in an administration interface.