The Model-Glue Framework
Home » Resinfox Access Control For M:G
The Model-Glue (with Coldspring) framework by Joe Rinehart is a superb, high performance MVC framework that takes most of the headache out of developing new object-oriented, Coldfusion based web applications. It's easily adaptible and also plays well integrated into other less well organised applications without complaining. I've used the framework for 3 projects now and it just gets better the more I use it. So now it's my turn to give something (small!) back to the community.
In almost every project for both CFMX and php, one of the standard components that i've had to create/refactor on a regular basis is some form of Access Control Mechanism. The great modularity of the Model-Glue framework and the simple layout of the ModelGlue.xml file allowed me to create this highly adaptable ACL interface for Model-Glue, very quickly and simply.
It's a boilerplate application template that you can simply subsititute the standard MG applicationtemplate with, or include the files and cut and past the well-defined sections in the ModelGlue.xml files in your own apps.
One of the really useful features in this ACL is that it is capable of automatically detecting newly added <event-handlers> in the ModelGlue.xml file and offering the option to apply rules based access against them. It also requires ABSOLUTLEY NO CODE in your existing controllers or models to leverage access control so you can integrate it pretty much seamlessly into your existing apps. There is a utility function provided however that hides/shows links depending on access level.
Check out the links on the right to download and find out how to use it