design - CakePHP ACL use case(s) -


I have found a simple web application in development, I want to set up some user groups; Administrator, Doctor & amp; Patients

Use of each group will be restricted to special control tasks rather than individual content. For example, doctors can see patient records (index and action action), but they can not be removed.

Usually I will create a group model, and assign to different users in one group. And first to determine the filter () method to determine whether the user has access or not. But if ACL can do the job, why the correct code, right?

Thanks

You do not need to filter the Filtler () method to determine For that user has access, but you need to provide configuration of athe component. Follow with tutorial ().


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -