Access Control Levels

One of the things missing from codeigniter is access control levels ACL or access control libraries as some might say. Drupal has an excellent ACL out of the box so I decided to make one for regular use on Codeigniter.

Now I want to make sure that this ACL can be used either through roles or individual basis. Groups for me is a collection container of people that are linked together. Individuals still have a role within their group(s) which is why I think it’s important to set access against individual members. However you can still use roles as a way to set individual’s permissions.

Continue reading

Codeigniter 2 Ajax Problems

Whilst building a new site for a client I was building an AJAX call to re-order images on the fly as to speak.

I use jquery and Ajax all the time. But this time I was getting nothing but 500 error.

OK I’d just upgraded to using Codeigniter 2, jQuery 1.5 and jQuery 1.8.9. I’m not seeing any javascript errors in Firebug.

Several hours later and a sore head from all the bang on the desk I found the reason and solution. Continue reading